aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main-window.vala10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/main-window.vala b/src/main-window.vala
index d7fe6f0..a44ede0 100644
--- a/src/main-window.vala
+++ b/src/main-window.vala
@@ -378,6 +378,16 @@ public class MainWindow : Gtk.Window
}
}
}
+ else if (stack.top () is SessionList) {
+ // Session list is open
+ switch (event.keyval) {
+ case Gdk.Key.Escape:
+ case Gdk.Key.Left:
+ case Gdk.Key.KP_Left:
+ pop_list();
+ return true;
+ }
+ }
var greeter = new ArcticaGreeter ();
switch (event.keyval)