gnome-shell/js/ui
Colin Walters 7703bee284 [workspaces] Use a stable minimum-motion placement for windows
Rather than having the mapping from window into "slots" (or
possible positions in the workspaces) be dependent on stacking
order, compute the minimum-motion which is a vector from one
top left corner to another.  This order won't change as long
as the window set and their positions stay fixed.

There are two minimum motion algorithims; one simply computes
all possible placements by permuting the window list, up to
a current maximum of 5 windows.  Past that (which also happens
to be the number where we switch to a grid), we use a "greedy"
algorithm which for each slot, finds the window with least motion
for that slot.

To break any ties, we use an internal integer in MetaWindow which
enumerates the order in which windows were created.

https://bugzilla.gnome.org/show_bug.cgi?id=582654
2009-09-22 18:14:32 -04:00
..
altTab.js [lightbox] Add lightbox.js and use it in overview, alt-tab, and run dialog 2009-09-22 17:23:14 -04:00
appDisplay.js Bug 594916 - Allow cancelling DND by hitting Esc 2009-09-22 16:15:28 -04:00
appIcon.js More global-ization 2009-09-11 17:23:42 -04:00
button.js Convert remaining uses of "let me = this;" to Lang.bind 2009-09-15 13:11:23 -04:00
chrome.js Make "global" global. 2009-09-08 16:21:15 -04:00
dash.js Don't show section headers for sections with no results and don't show page 2009-09-11 19:30:11 -04:00
dnd.js Bug 594916 - Allow cancelling DND by hitting Esc 2009-09-22 16:15:28 -04:00
docDisplay.js Convert remaining uses of "let me = this;" to Lang.bind 2009-09-15 13:11:23 -04:00
genericDisplay.js Don't show section headers for sections with no results and don't show page 2009-09-11 19:30:11 -04:00
lightbox.js [lightbox] Fix logic; get_children() returns children bottom-to-top 2009-09-22 18:11:25 -04:00
link.js Fix behavior of More... links by adding a Link class 2009-02-26 18:07:25 -05:00
lookingGlass.js Better handle pushModal failing 2009-09-17 16:36:33 -04:00
main.js Better handle pushModal failing 2009-09-17 16:36:33 -04:00
Makefile.am [lightbox] Add lightbox.js and use it in overview, alt-tab, and run dialog 2009-09-22 17:23:14 -04:00
overview.js Better handle pushModal failing 2009-09-17 16:36:33 -04:00
panel.js More global-ization 2009-09-11 17:23:42 -04:00
places.js Add volumes support to places 2009-09-02 15:04:24 -04:00
runDialog.js [lightbox] Add lightbox.js and use it in overview, alt-tab, and run dialog 2009-09-22 17:23:14 -04:00
sidebar.js More global-ization 2009-09-11 17:23:42 -04:00
tweener.js Add Tweener.slowDownFactor, initialize from $GNOME_SHELL_SLOWDOWN_FACTOR 2009-09-02 09:15:37 -04:00
widget.js Make "global" global. 2009-09-08 16:21:15 -04:00
widgetBox.js Use clutter_event_get_* instead of ShellGlobal 2009-09-08 17:58:13 -04:00
windowManager.js Convert remaining uses of "let me = this;" to Lang.bind 2009-09-15 13:11:23 -04:00
workspaces.js [workspaces] Use a stable minimum-motion placement for windows 2009-09-22 18:14:32 -04:00