[shotwell] Fix fullscreen navigation: Bug #737092



commit 6dc0d5a83b011ac118fda736ecd04a87347e154a
Author: Jim Nelson <jim yorba org>
Date:   Wed Sep 24 19:29:42 2014 -0700

    Fix fullscreen navigation: Bug #737092
    
    This restores fullscreen navigation without introducing regression
    of bug #719183, which is where bug was introduced.

 src/AppWindow.vala |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/src/AppWindow.vala b/src/AppWindow.vala
index 782f953..5a8e9c4 100644
--- a/src/AppWindow.vala
+++ b/src/AppWindow.vala
@@ -146,7 +146,11 @@ public class FullscreenWindow : PageWindow {
             return true;
         }
         
-        // Make sure this event gets propagated to the underlying window...
+        // propagate to this (fullscreen) window respecting "stop propagation" result...
+        if (base.key_press_event != null && base.key_press_event(event))
+            return true;
+        
+        // ... then propagate to the underlying window hidden behind this fullscreen one
         return AppWindow.get_instance().key_press_event(event);
     }
     


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