gnome-shell/js
Adel Gadllah f262473a3f Fix fullscreen behaviour
The check in _windowsRestacked checks for
windows[i].x >= primary.x
and
windows[i].x <= primary.x + primary.width
(likewise for y).

This is wrong because a fullscreen window on the secondary screen is likely
to have windows[i].x == primary.x + primary.width which means that the checks
for _both_ screens would be valid, but the first one would win due to
the "break;" statement.

But here the window isn't really on the primary but on the secondary one.

Fix that by using < instead of <= for those checks.

https://bugzilla.gnome.org/show_bug.cgi?id=614509
2010-04-01 16:53:21 +02:00
..
misc Merge St.TextureCache and Shell.TextureCache 2010-03-05 16:19:40 -05:00
ui Fix fullscreen behaviour 2010-04-01 16:53:21 +02:00
Makefile.am Split appDisplay and docDisplay into "model" and "view" parts 2009-06-16 18:50:42 -04:00