GNOME Bugzilla – Bug 117230
Metacity does not notice XRANDR root screen size updates
Last modified: 2004-12-22 21:47:04 UTC
I am using XD2 version of Metacity under 800x600. When I switch to a higher resolution (1024x768) with XRANDR, the allowed window placement region and the maximized size is still 800x60 and Metacity does not allow me to move a window outside the 800x600 area. When I maximize a window, it fills the same 800x600 area. If I kill -HUP metacity, it recognizes the new root screen size. Good boy. Regards, Fabio Gomes
If you add, delete, or move a panel to a different screen edge after the switch, does that fix it for you?
Yes. Moving a panel to a different screen edge also makes Metacity see the changes.
OK we just need to invalidate the work areas when the screen size changes. Shouldn't be too hard to fix.
Created attachment 18267 [details] [review] invalidate work areas on screen size update
attached patch ought to fix the problem.
OK to commit?
Looks sensible, thanks.
committed.
*** Bug 123802 has been marked as a duplicate of this bug. ***
*** Bug 124085 has been marked as a duplicate of this bug. ***