GNOME Bugzilla – Bug 571192
Allow windows to scale up when there are multiple workspaces
Last modified: 2009-05-05 19:35:26 UTC
In workspaces.js: let size = Math.max(clone.actor.width, clone.actor.height); let desiredSize = global.screen_width * fraction; let scale = Math.min(desiredSize / size, 1.0); the Math.min(desireSize, 1.0) is so that if we have a single small window, we don't zoom way in on it ... the idea is to never scale windows up. But when we have multiple workspaces, then we are already scaling windows down a lot before we start; it seems that we might want to let windows scale up as long as the *absolute* scale factor (relative to the stage) doesn't become greater than 1. This does allow windows to become more out of proportion to the desktop size, but we already allow a certain amount of disproportionality; I don't think more will hurt.
Created attachment 134052 [details] [review] Let small windows appear at full size in the overlay if there is room Previously we forced all windows to shrink at least as much as the workspace itself did. Now we allow to shrink by a smaller amount (or not at all) if they'll still fit within their allotted slot.
Looks good