From 23c7ac838e0023f5441e360c25db23d833c870b3 Mon Sep 17 00:00:00 2001 From: Nick Dedekind Date: Tue, 18 Sep 2012 10:54:47 +0100 Subject: HideDash/Hud directly from external button press. (bzr r2684.7.6) --- plugins/unityshell/src/unityshell.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/unityshell/src') 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; -- cgit v1.2.3