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
..
2010-04-01 16:53:21 +02:00
2010-03-29 17:45:57 +02:00
2009-12-18 11:19:59 -05:00
2010-03-31 10:08:18 -04:00
2010-03-31 10:08:18 -04:00
2010-03-31 10:08:18 -04:00
2010-02-02 10:31:38 -05:00