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

Update cursor on focus change
master
Drew DeVault 6 years ago committed by GitHub
commit ca695482ec
No known key found for this signature in database
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); cursor_send_pointer_motion(seat->cursor, 0, true);
} }

Loading…
Cancel
Save