GNOME Bugzilla – Bug 591124
Reposition windows when scaling workspaces
Last modified: 2009-08-10 14:11:05 UTC
If you have some small windows, it's very obvious that when you go from 1 workspace to 2 workspaces: - The windows are left too small And when you go from 2 workspaces to 1 workspace: - The windows are left too big and will be scaled up beyond their original size This patch fixes it by exporting positionWindows from Workspace and calling it at the appropriate time. Alternative would be to have workspace.setScale() rather than have have Workspaces set workspace.scale directly - then the Workspace object could call _positionWindows as appropriate. That's maybe a little cleaner but some care would have to be taken to not have the code start multiple animations.
Created attachment 140180 [details] [review] Reposition windows when scaling workspaces The scale of windows within a workspace is determined by the scale of the workspace since we never scale a window bigger than the original size of the window. So when we rescale workspaces we have to rerun Workspace.positionWindows().
sure
Pushed. Thanks for the review.