hamaxx/unity-2d-for-xmonad — Issue #6: Panel Geometry not updating when switching physical monitors
Author: mappleconfusers
Created: 2012-02-19 18:14:46+00:00
State: open

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:
- Do an update on a regular basis (every second or so). Can be cuppled with a check if anything has changed.
- Get oneother source for a backup event that rescues the panel in this case
Actual Fixes:
- Find the Event that covers all three cases. Using the screen count is not really neat as well.

(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