diff options
| author | Nick Dedekind <nicholas.dedekind@gmail.com> | 2012-09-18 10:54:47 +0100 |
|---|---|---|
| committer | Nick Dedekind <nicholas.dedekind@gmail.com> | 2012-09-18 10:54:47 +0100 |
| commit | 23c7ac838e0023f5441e360c25db23d833c870b3 (patch) | |
| tree | 1e5d6bd4a78ad5aab51c6eb632c9eb5219af6738 /plugins/unityshell/src | |
| parent | eafbb6663c28bd507747eb68c2cc710387d0740b (diff) | |
HideDash/Hud directly from external button press.
(bzr r2684.7.6)
Diffstat (limited to 'plugins/unityshell/src')
| -rw-r--r-- | plugins/unityshell/src/unityshell.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/unityshell/src/unityshell.cpp b/plugins/unityshell/src/unityshell.cpp index 49f10b063..67b7bd163 100644 --- a/plugins/unityshell/src/unityshell.cpp +++ b/plugins/unityshell/src/unityshell.cpp @@ -1431,7 +1431,7 @@ void UnityScreen::handleEvent(XEvent* event) if (overlay_monitor_ != monitor_with_mouse || !geo_dash.IsInside(pt)) { - ubus_manager_.SendMessage(UBUS_PLACE_VIEW_CLOSE_REQUEST, g_variant_new_boolean(FALSE)); + dash_controller_->HideDash(false); } } @@ -1444,7 +1444,7 @@ void UnityScreen::handleEvent(XEvent* event) if (overlay_monitor_ != monitor_with_mouse || !geo_hud.IsInside(pt)) { - ubus_manager_.SendMessage(UBUS_HUD_CLOSE_REQUEST, g_variant_new_boolean(FALSE)); + hud_controller_->HideHud(false); } } break; |
