GNOME Bugzilla – Bug 695582
Workspace: don't place new windows at random locations
Last modified: 2013-03-17 18:36:12 UTC
Instead, have them grow from the center of their assigned slots.
Created attachment 238537 [details] [review] Workspace: don't place new windows at random locations
Hard code freeze ping!
Review of attachment 238537 [details] [review]: ::: js/ui/workspace.js @@ +1042,3 @@ + // This window appeared after the overview was already up + // Grow the clone from the center of the slot + clone.actor.x = clone.slot[0] + clone.slot[2]/2; let [x, y, width, height] = clone.slot; @@ +1399,3 @@ let overlay = new WindowOverlay(clone, this._windowOverlaysGroup); clone.overlay = overlay; + clone.positioned = true; // Will be cleared in _windowAdded for new windows I'd like this to be passed into addWindowClone. Given that we only have two users that call it, it should be a match.
Created attachment 239068 [details] [review] Workspace: don't place new windows at random locations Instead, have them grow from the center of their assigned slots.
Review of attachment 239068 [details] [review]: OK.
Attachment 239068 [details] pushed as 0ceefb4 - Workspace: don't place new windows at random locations