From 2e51a4bb2d486f29db9f987133de202af8bccbe7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Tue, 11 Oct 2011 12:58:18 +0200 Subject: 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) --- plugins/unityshell/src/PanelView.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'plugins') 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(_monitor); + _menu_view->GetGeometryForSync(locations); _indicators->GetGeometryForSync(locations); - _remote->SyncGeometries(GetName(), locations); + _remote->SyncGeometries(panel_id, locations); } void -- cgit v1.2.3