mirror of
https://github.com/swaywm/sway.git
synced 2024-11-26 09:51:29 +00:00
Merge pull request #2292 from emersion/update-cursor-on-focus
Update cursor on focus change
This commit is contained in:
commit
ca695482ec
|
@ -738,7 +738,7 @@ void seat_set_focus_warp(struct sway_seat *seat,
|
|||
}
|
||||
}
|
||||
|
||||
if (last_workspace && last_workspace != new_workspace) {
|
||||
if (last_focus != NULL) {
|
||||
cursor_send_pointer_motion(seat->cursor, 0, true);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue