mirror of
https://github.com/zoriya/river.git
synced 2025-12-05 22:56:10 +00:00
command/swap: fix cursor warp on focus change
This commit is contained in:
@@ -67,6 +67,7 @@ pub fn swap(
|
||||
assert(!target.pending.float);
|
||||
assert(!target.pending.fullscreen);
|
||||
seat.focused.view.pending_wm_stack_link.swapWith(&target.pending_wm_stack_link);
|
||||
seat.cursor.may_need_warp = true;
|
||||
server.root.applyPending();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user