summaryrefslogtreecommitdiff
path: root/src/AppWindow.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2014-10-03 14:53:52 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2014-10-03 14:53:52 +0200
commite97c1ca41f345bcf57417f6dc06e0d42f3547443 (patch)
treeb9afc8d1553a62369c373c703d4f479ad81188af /src/AppWindow.vala
parent566dc060676b41e1e58a446b7dcc4159e242fee6 (diff)
Imported Upstream version 0.20.1
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);
}