Don't reset cursor during mouse operations

This commit is contained in:
Ryan Dwyer 2018-10-27 19:12:55 +10:00
parent e4053191e6
commit d0dca7f35e

View File

@ -301,7 +301,9 @@ static void transaction_apply(struct sway_transaction *transaction) {
if (root->outputs->length) {
struct sway_seat *seat;
wl_list_for_each(seat, &server.input->seats, link) {
cursor_rebase(seat->cursor);
if (seat->operation == OP_NONE) {
cursor_rebase(seat->cursor);
}
}
}
}