From e97c1ca41f345bcf57417f6dc06e0d42f3547443 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Fri, 3 Oct 2014 14:53:52 +0200 Subject: Imported Upstream version 0.20.1 --- src/AppWindow.vala | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/AppWindow.vala') 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); } -- cgit v1.2.3