GNOME Bugzilla – Bug 591122
Fix updating of workspace frame actor
Last modified: 2009-08-10 13:58:07 UTC
This fixes a problem where on adding or removing workspaces the frame is left in the wrong position. It's a lot more visible when running in Xephyr without hardware acceleration, I think because there are very few steps to animations.
Created attachment 140178 [details] [review] Fix updating of workspace frame actor Both the position and size of the frame actor depend on the scale of the workspace, so update them both when the scale changes. On the other hand, the the frame actor doesn't need to be repositioned when the workspace moves (since it is relative to the workspace). We do base the frame position of the desktop actor, but that will presumably stay fixed (at 0,0) in most all cases.
i can't figure out how to reproduce the drawing glitch you're talking about, but i agree with the logic
I was seeing it just by running gnome-shell in Xephyr and adding and removing workspaces. Frequently when I went from 2 workspaces to 1 workspaces, the frame would be left considerably off-center. Pushed, thanks for the review.