Merge pull request #2997 from RyanDwyer/fix-cursor-during-operation

Don't reset cursor during mouse operations
This commit is contained in:
emersion 2018-10-27 11:23:57 +02:00 committed by GitHub
commit de250a523f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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