From d968ae1b3d06ffd921155c45ed6d5a6d5a3f9c1d Mon Sep 17 00:00:00 2001 From: Brandon Schaefer Date: Wed, 8 Jan 2014 13:48:18 -0800 Subject: * Make sure we don't open the dash/hud on a monitor if the top most window on it is fullscreen. Fixes LP: #1267210 (bzr r3616.2.1) --- launcher/LauncherController.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'launcher') diff --git a/launcher/LauncherController.cpp b/launcher/LauncherController.cpp index 98be37436..b1b068892 100644 --- a/launcher/LauncherController.cpp +++ b/launcher/LauncherController.cpp @@ -1202,7 +1202,10 @@ bool Controller::AboutToShowDash(int was_tap, int when) const void Controller::HandleLauncherKeyRelease(bool was_tap, int when) { int tap_duration = when - pimpl->launcher_key_press_time_; - if (tap_duration < options()->super_tap_duration && was_tap) + WindowManager& wm = WindowManager::Default(); + + if (tap_duration < options()->super_tap_duration && was_tap && + !wm.IsTopWindowFullscreenOnMonitorWithMouse()) { LOG_DEBUG(logger) << "Quick tap, sending activation request."; pimpl->SendHomeActivationRequest(); -- cgit v1.2.3