sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit de250a523fb765531744d3a363693da9e9ac270b
parent e4053191e6e62b454b96f2cd8b3b17eb2b9eadd1
Author: emersion <contact@emersion.fr>
Date:   Sat, 27 Oct 2018 11:23:57 +0200

Merge pull request #2997 from RyanDwyer/fix-cursor-during-operation

Don't reset cursor during mouse operations
Diffstat:
Msway/desktop/transaction.c | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git 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); + } } } }