diff options
author | emersion <contact@emersion.fr> | 2018-10-27 11:23:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-27 11:23:57 +0200 |
commit | de250a523fb765531744d3a363693da9e9ac270b (patch) | |
tree | 2466f140692942b1179fbb9d06d9901d95e9e6d8 | |
parent | Merge pull request #2995 from colemickens/uninit-warnings (diff) | |
parent | Don't reset cursor during mouse operations (diff) | |
download | sway-de250a523fb765531744d3a363693da9e9ac270b.tar.gz sway-de250a523fb765531744d3a363693da9e9ac270b.tar.zst sway-de250a523fb765531744d3a363693da9e9ac270b.zip |
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) { | |||
301 | if (root->outputs->length) { | 301 | if (root->outputs->length) { |
302 | struct sway_seat *seat; | 302 | struct sway_seat *seat; |
303 | wl_list_for_each(seat, &server.input->seats, link) { | 303 | wl_list_for_each(seat, &server.input->seats, link) { |
304 | cursor_rebase(seat->cursor); | 304 | if (seat->operation == OP_NONE) { |
305 | cursor_rebase(seat->cursor); | ||
306 | } | ||
305 | } | 307 | } |
306 | } | 308 | } |
307 | } | 309 | } |