Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
X11:Pantheon
plank
0001_changed-plank-positioning-according-to-wor...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001_changed-plank-positioning-according-to-workarea.patch of Package plank
--- lib/PositionManager.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/PositionManager.vala b/lib/PositionManager.vala index 3f140e89..e018167b 100644 --- a/lib/PositionManager.vala +++ b/lib/PositionManager.vala @@ -65,7 +65,7 @@ namespace Plank screen.composited_changed.connect (screen_composited_changed); // NOTE don't call update_monitor_geo to avoid a double-call of dockwindow.set_size on startup - screen.get_monitor_geometry (find_monitor_number (screen, controller.prefs.Monitor), out monitor_geo); + monitor_geo = screen.get_monitor_workarea (find_monitor_number (screen, controller.prefs.Monitor)); screen_is_composited = screen.is_composited (); } @@ -134,7 +134,7 @@ namespace Plank { var old_monitor_geo = monitor_geo; - screen.get_monitor_geometry (find_monitor_number (screen, controller.prefs.Monitor), out monitor_geo); + var monitor_geo = screen.get_monitor_workarea (find_monitor_number (screen, controller.prefs.Monitor)); // No need to do anything if nothing has actually changed if (old_monitor_geo.x == monitor_geo.x
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor