hamaxx / unity-2d-for-xmonad

Small changes to unity 2d that make using it with xmonad smoother
http://blog.hamsworld.net/2012/01/24/xmonad-on-ubuntu-11-10-oneiric-with-unity-2d/
GNU General Public License v3.0
16 stars 1 forks source link

Panel Geometry not updating when switching physical monitors #6

Open koraa opened 12 years ago

koraa commented 12 years ago

The Panel Geometry is updated correctly for adding and removing monitors, but not when the user just switches monitor (activating oneother monitor while deactivatng the current). This is because the update is triggered by the slotScreenCountChanged (which is not triggered if the number of active monitors stays the same).

Quickfixes:

(assignee: me pls :) )

-- Events that trigger a geometry update --

showEvent resizeEvent slotScreenCountChanged // This triggers the geometry update if a screen is added or removed slotWorkAreaResized // This is what actually should trigger all the geom. updates, but it does not o0

hamaxx commented 12 years ago

(assignee: me pls :) )

Go for it! :)

koraa commented 12 years ago

Lol, i actually ment you to set the assignee of this ticket to $me (I use ticket systems heavily to document the progress of a project :) )

Added Quickfix number 1 with 2s delay.

hamaxx commented 12 years ago

Ok, I added you as a collaborator to the project and assigned this ticket to you :)

koraa commented 12 years ago

Postponed until we find a better way to update the geometry