mirror of
https://github.com/vale981/bspwm
synced 2025-03-05 09:51:38 -05:00
parent
3f12328f26
commit
446ff985e1
1 changed files with 4 additions and 0 deletions
|
@ -1581,6 +1581,10 @@ bool swap_nodes(monitor_t *m1, desktop_t *d1, node_t *n1, monitor_t *m2, desktop
|
|||
|
||||
if (d1 != d2) {
|
||||
arrange(m2, d2);
|
||||
} else {
|
||||
if (pointer_follows_focus && (n1_held_focus || n2_held_focus)) {
|
||||
center_pointer(get_rectangle(m1, d1, d1->focus));
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
Loading…
Add table
Reference in a new issue