GNOME Bugzilla – Bug 654105
workspace: Fix layout errors caused by window zoom
Last modified: 2011-07-06 20:07:29 UTC
Some fallout from the layout changes introduced in bug 636963, see attached patch.
Created attachment 191411 [details] [review] workspace: Fix layout errors caused by window zoom Commit 64b2b4a7d4 changed the monitor layout handling, resulting in some layout errors due to a subtle change in memory handling: when zooming a window in the overview, the available zoom area is calculated by subtracting the panel height from the primary monitor area. This area used to be a copy of the monitor rect, but as now the rect itself is returned, zooming a window on the primary monitor repeatedly modifies the monitor rect, leading to layout errors in various parts of the shell. Fix by using a copy when calculating the available zoom area.
Review of attachment 191411 [details] [review]: Seems fine
Attachment 191411 [details] pushed as 8d1b796 - workspace: Fix layout errors caused by window zoom