Move tiled window: don't miss valid cases

When we move a tiled window from one monitor to the other, we don't care
about the state of the window under the pointer.
This commit is contained in:
Bastien Dejean 2013-03-09 20:49:19 +01:00
parent b1318ee553
commit 5d9eebb463

View file

@ -428,7 +428,7 @@ void track_pointer(int root_x, int root_y)
swap_nodes(d, n, loc.desktop, loc.node);
arrange(m, d);
} else {
if (is_managed && !is_tiled(loc.node->client)) {
if (is_managed && !is_tiled(loc.node->client) && loc.monitor == m) {
return;
} else if (!is_managed) {
xcb_point_t pt = (xcb_point_t) {root_x, root_y};