Commit 09263321 authored by Bastien Nocera's avatar Bastien Nocera

shell: Close overview on Ctrl+W as well

https://bugzilla.gnome.org/show_bug.cgi?id=776385
parent 36dbba1c
......@@ -738,11 +738,9 @@ window_key_press_event (GtkWidget *win,
break;
case GDK_KEY_Q:
case GDK_KEY_q:
gtk_widget_destroy (GTK_WIDGET (self));
retval = GDK_EVENT_STOP;
break;
case GDK_KEY_W:
case GDK_KEY_w:
gtk_widget_destroy (GTK_WIDGET (self));
retval = GDK_EVENT_STOP;
break;
}
......
......@@ -1260,6 +1260,8 @@ window_key_press_event (GtkWidget *win,
case GDK_KEY_w:
if (!overview)
shell_show_overview_page (self);
else
gtk_widget_destroy (GTK_WIDGET (self));
retval = GDK_EVENT_STOP;
break;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment