diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2018-10-27 11:23:57 +0200 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2018-10-27 11:23:57 +0200 |
| commit | 6e963dad4e08a654443119a02f272838924f7b40 (patch) | |
| tree | 2466f140692942b1179fbb9d06d9901d95e9e6d8 | |
| parent | c188f3242d0de81cc40f48c80f4012ba2a3fdf27 (diff) | |
| parent | f2f22489eee5b8c1622a08d672c13feb28ad936f (diff) | |
Merge pull request #2997 from RyanDwyer/fix-cursor-during-operation
Don't reset cursor during mouse operations
| -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); + } } } } |
