mirror of
https://github.com/swaywm/sway.git
synced 2024-12-28 07:56:31 +01:00
Merge pull request #2292 from emersion/update-cursor-on-focus
Update cursor on focus change
This commit is contained in:
commit
ca695482ec
1 changed files with 1 additions and 1 deletions
|
@ -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