Fix clang warning by grouping conditions to actually catch ctrl-q (#14402)
This commit is contained in:
@@ -395,7 +395,7 @@ xtm_process_window_key_pressed (XtmProcessWindow *window, GdkEventKey *event)
|
||||
gboolean ret = FALSE;
|
||||
|
||||
if (event->keyval == GDK_KEY_Escape ||
|
||||
event->keyval == GDK_KEY_q && (event->state & GDK_CONTROL_MASK)) {
|
||||
(event->keyval == GDK_KEY_q && (event->state & GDK_CONTROL_MASK))) {
|
||||
emit_delete_event_signal (window, (GdkEvent*) event);
|
||||
ret = TRUE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user