mirror of
https://github.com/swaywm/sway.git
synced 2024-11-10 20:44:01 +01:00
Don't reset cursor during mouse operations
This commit is contained in:
parent
e4053191e6
commit
d0dca7f35e
@ -301,9 +301,11 @@ static void transaction_apply(struct sway_transaction *transaction) {
|
|||||||
if (root->outputs->length) {
|
if (root->outputs->length) {
|
||||||
struct sway_seat *seat;
|
struct sway_seat *seat;
|
||||||
wl_list_for_each(seat, &server.input->seats, link) {
|
wl_list_for_each(seat, &server.input->seats, link) {
|
||||||
|
if (seat->operation == OP_NONE) {
|
||||||
cursor_rebase(seat->cursor);
|
cursor_rebase(seat->cursor);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void transaction_commit(struct sway_transaction *transaction);
|
static void transaction_commit(struct sway_transaction *transaction);
|
||||||
|
Loading…
Reference in New Issue
Block a user