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
Failed to generate hash of commit

View file

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