[shotwell/shotwell-0.24] Fix focus handling of fullscreen viewer



commit a9104c1cf1ab2c586f1639536a50823019d026eb
Author: Jens Georg <mail jensge org>
Date:   Wed Sep 28 23:11:32 2016 +0200

    Fix focus handling of fullscreen viewer
    
    Signed-off-by: Jens Georg <mail jensge org>
    
    https://bugzilla.gnome.org/show_bug.cgi?id=771969

 src/AppWindow.vala |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/AppWindow.vala b/src/AppWindow.vala
index b70a20c..b979d9e 100644
--- a/src/AppWindow.vala
+++ b/src/AppWindow.vala
@@ -98,6 +98,9 @@ public class FullscreenWindow : PageWindow {
         
         // start off with toolbar invoked, as a clue for the user
         invoke_toolbar();
+
+        // Toolbar steals keyboard focus from page, put it back again
+        page.grab_focus ();
     }
 
     public void disable_toolbar_dismissal() {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]