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) --- plugins/unityshell/src/unityshell.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'plugins/unityshell') diff --git a/plugins/unityshell/src/unityshell.cpp b/plugins/unityshell/src/unityshell.cpp index 3601ffbb8..999eb0d84 100644 --- a/plugins/unityshell/src/unityshell.cpp +++ b/plugins/unityshell/src/unityshell.cpp @@ -2359,6 +2359,11 @@ bool UnityScreen::ShowHud() return false; // early exit if the switcher is open } + if (PluginAdapter::Default().IsTopWindowFullscreenOnMonitorWithMouse()) + { + return false; + } + if (hud_controller_->IsVisible()) { ubus_manager_.SendMessage(UBUS_HUD_CLOSE_REQUEST); -- cgit v1.2.3