1
1
mirror of https://github.com/swaywm/sway synced 2024-09-30 04:51:18 +02:00

Merge pull request #2292 from emersion/update-cursor-on-focus

Update cursor on focus change
This commit is contained in:
Drew DeVault 2018-07-17 19:53:12 -07:00 committed by GitHub
commit ca695482ec
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

@ -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);
}