mirror of
https://github.com/vale981/bspwm
synced 2025-03-06 02:01:42 -05:00
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:
parent
b1318ee553
commit
5d9eebb463
1 changed files with 1 additions and 1 deletions
2
events.c
2
events.c
|
@ -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};
|
||||
|
|
Loading…
Add table
Reference in a new issue