summaryrefslogtreecommitdiff
path: root/plugins/unityshell
diff options
authorBrandon Schaefer <brandontschaefer@gmail.com>2014-01-08 13:48:18 -0800
committerBrandon Schaefer <brandontschaefer@gmail.com>2014-01-08 13:48:18 -0800
commitd968ae1b3d06ffd921155c45ed6d5a6d5a3f9c1d (patch)
tree5bed7dcc1b1b4629d0de0ccdb8ea81d1d26e41a9 /plugins/unityshell
parentbd089bca0432c67fc36b24324061b720a47c206e (diff)
* 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)
Diffstat (limited to 'plugins/unityshell')
-rw-r--r--plugins/unityshell/src/unityshell.cpp5
1 files changed, 5 insertions, 0 deletions
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);