command/swap: fix cursor warp on focus change
This commit is contained in:
parent
ad0b71c310
commit
bed50f0dd2
@ -67,6 +67,7 @@ pub fn swap(
|
|||||||
assert(!target.pending.float);
|
assert(!target.pending.float);
|
||||||
assert(!target.pending.fullscreen);
|
assert(!target.pending.fullscreen);
|
||||||
seat.focused.view.pending_wm_stack_link.swapWith(&target.pending_wm_stack_link);
|
seat.focused.view.pending_wm_stack_link.swapWith(&target.pending_wm_stack_link);
|
||||||
|
seat.cursor.may_need_warp = true;
|
||||||
server.root.applyPending();
|
server.root.applyPending();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user