diff options
author | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-10-27 19:12:55 +1000 |
---|---|---|
committer | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-10-27 19:12:55 +1000 |
commit | d0dca7f35ee0a6e6574c1ed893ec8546f5233e5c (patch) | |
tree | 2466f140692942b1179fbb9d06d9901d95e9e6d8 /sway/desktop | |
parent | e4053191e6e62b454b96f2cd8b3b17eb2b9eadd1 (diff) |
Don't reset cursor during mouse operations
Diffstat (limited to 'sway/desktop')
-rw-r--r-- | sway/desktop/transaction.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sway/desktop/transaction.c b/sway/desktop/transaction.c index 955b05d6..c3efb210 100644 --- a/sway/desktop/transaction.c +++ b/sway/desktop/transaction.c @@ -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); + } } } } |