summaryrefslogtreecommitdiff
path: root/plugins
diff options
authorMarco Trevisan (Treviño) <mail@3v1n0.net>2011-10-11 12:58:18 +0200
committerMarco Trevisan (Treviño) <mail@3v1n0.net>2011-10-11 12:58:18 +0200
commit2e51a4bb2d486f29db9f987133de202af8bccbe7 (patch)
tree81658e416fb175ec49659666528287b4770fa450 /plugins
parente8ccc4a5ca55f6e6d325f984533e87f389d9da7b (diff)
PanelView: When syncing geometries send a different panel name for each panel window
Thanks to the new unity-panel-service code, this finally fixes bug #869196 for unity. (bzr r1693.2.6)
Diffstat (limited to 'plugins')
-rw-r--r--plugins/unityshell/src/PanelView.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/unityshell/src/PanelView.cpp b/plugins/unityshell/src/PanelView.cpp
index c1debac79..d143ee3e1 100644
--- a/plugins/unityshell/src/PanelView.cpp
+++ b/plugins/unityshell/src/PanelView.cpp
@@ -622,9 +622,11 @@ void
PanelView::SyncGeometries()
{
indicator::EntryLocationMap locations;
+ std::string panel_id = GetName() + boost::lexical_cast<std::string>(_monitor);
+
_menu_view->GetGeometryForSync(locations);
_indicators->GetGeometryForSync(locations);
- _remote->SyncGeometries(GetName(), locations);
+ _remote->SyncGeometries(panel_id, locations);
}
void