summaryrefslogtreecommitdiff
path: root/plugins
diff options
authorMarco Trevisan (Treviño) <mail@3v1n0.net>2014-04-16 02:45:31 +0200
committerMarco Trevisan (Treviño) <mail@3v1n0.net>2014-04-16 02:45:31 +0200
commit4bf03d139ac3f0108d2cb975bfaaa712d7128ed7 (patch)
tree95d92814636367b818b23e6cf78f140010f503f3 /plugins
parentb0865e8ac463f676d255690889163e1b83ebdb81 (diff)
{Dash,Hud}Controller: use wm signals instead of UBus to hide on VP switch
(bzr r3785.5.6)
Diffstat (limited to 'plugins')
-rw-r--r--plugins/unityshell/src/unityshell.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/plugins/unityshell/src/unityshell.cpp b/plugins/unityshell/src/unityshell.cpp
index bbc1dd4ea..add6b9236 100644
--- a/plugins/unityshell/src/unityshell.cpp
+++ b/plugins/unityshell/src/unityshell.cpp
@@ -1978,13 +1978,7 @@ void UnityScreen::handleCompizEvent(const char* plugin,
{
PluginAdapter& adapter = PluginAdapter::Default();
adapter.NotifyCompizEvent(plugin, event, option);
- compiz::CompizMinimizedWindowHandler<UnityScreen, UnityWindow>::handleCompizEvent (plugin, event, option);
-
- if (launcher_controller_->IsOverlayOpen() && g_strcmp0(event, "start_viewport_switch") == 0)
- {
- ubus_manager_.SendMessage(UBUS_OVERLAY_CLOSE_REQUEST);
- }
-
+ compiz::CompizMinimizedWindowHandler<UnityScreen, UnityWindow>::handleCompizEvent(plugin, event, option);
screen->handleCompizEvent(plugin, event, option);
}