mirror of
https://github.com/swaywm/sway.git
synced 2024-11-25 09:21:28 +00:00
Merge pull request #2997 from RyanDwyer/fix-cursor-during-operation
Don't reset cursor during mouse operations
This commit is contained in:
commit
de250a523f
|
@ -301,10 +301,12 @@ 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) {
|
||||
if (seat->operation == OP_NONE) {
|
||||
cursor_rebase(seat->cursor);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static void transaction_commit(struct sway_transaction *transaction);
|
||||
|
||||
|
|
Loading…
Reference in a new issue