summaryrefslogtreecommitdiff
path: root/src/AppWindow.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2014-10-09 11:56:47 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2014-10-09 11:56:47 +0200
commit61daf2ebd98acb99ef2e06a743cf0dc76ecde3c6 (patch)
tree55c4c914bb35e1a85de2a95e10be499731e6d2d8 /src/AppWindow.vala
parent1c172114dfae26e3861c65510b45d9f6b7bdab67 (diff)
parent7b10dbdcb4c9027cd6f4690d6d70a2f36b37ab26 (diff)
Merge branch 'master' of ssh://git.debian.org/git/collab-maint/shotwell
Diffstat (limited to 'src/AppWindow.vala')
-rw-r--r--src/AppWindow.vala6
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);
}