After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 117230 - Metacity does not notice XRANDR root screen size updates
Metacity does not notice XRANDR root screen size updates
Status: RESOLVED FIXED
Product: metacity
Classification: Other
Component: general
2.4.x
Other Linux
: High normal
: ---
Assigned To: Metacity maintainers list
Metacity maintainers list
: 123802 124085 (view as bug list)
Depends on:
Blocks: 118195
 
 
Reported: 2003-07-11 19:12 UTC by Fabio Gomes
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
invalidate work areas on screen size update (1.42 KB, patch)
2003-07-13 23:03 UTC, Rob Adams
none Details | Review

Description Fabio Gomes 2003-07-11 19:12:14 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
Comment 1 Rob Adams 2003-07-11 19:53:15 UTC
If you add, delete, or move a panel to a different screen edge after
the switch, does that fix it for you?
Comment 2 Fabio Gomes 2003-07-12 01:49:44 UTC
Yes. Moving a panel to a different screen edge also makes Metacity see
the changes.
Comment 3 Rob Adams 2003-07-12 04:04:03 UTC
OK we just need to invalidate the work areas when the screen size
changes.  Shouldn't be too hard to fix.
Comment 4 Rob Adams 2003-07-13 23:03:40 UTC
Created attachment 18267 [details] [review]
invalidate work areas on screen size update
Comment 5 Rob Adams 2003-07-13 23:04:13 UTC
attached patch ought to fix the problem.
Comment 6 Rob Adams 2003-07-26 21:37:50 UTC
OK to commit?
Comment 7 Havoc Pennington 2003-07-28 00:34:58 UTC
Looks sensible, thanks.
Comment 8 Rob Adams 2003-07-28 00:55:48 UTC
committed.
Comment 9 Rob Adams 2003-10-03 22:15:45 UTC
*** Bug 123802 has been marked as a duplicate of this bug. ***
Comment 10 Peter Colijn 2003-10-08 15:32:57 UTC
*** Bug 124085 has been marked as a duplicate of this bug. ***