From 5af09a60e9163d3d50db65773735acb4eb7f1b7f Mon Sep 17 00:00:00 2001 From: Giovanni Campagna Date: Fri, 8 Mar 2013 22:59:02 +0100 Subject: [PATCH] Main: close the looking glass when we don't have a run dialog No run dialog means no looking glass either. https://bugzilla.gnome.org/show_bug.cgi?id=695458 --- js/ui/main.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/js/ui/main.js b/js/ui/main.js index b0a8c2d34..ca4d49e06 100644 --- a/js/ui/main.js +++ b/js/ui/main.js @@ -84,6 +84,9 @@ function _sessionUpdated() { Shell.KeyBindingMode.NORMAL | Shell.KeyBindingMode.OVERVIEW, sessionMode.hasRunDialog ? openRunDialog : null); + + if (!sessionMode.hasRunDialog && lookingGlass) + lookingGlass.close(); } function start() {