mirror of
https://github.com/swaywm/sway.git
synced 2026-04-23 06:46:27 -04:00
Rebase cursor when a layer surface maps
Also removes an extraneous arrange_outputs call, it's already called if necessary in arrange_layers. Updates https://github.com/swaywm/sway/issues/3080
This commit is contained in:
parent
fb4f29289f
commit
97c89b24b8
4 changed files with 20 additions and 10 deletions
|
|
@ -314,14 +314,7 @@ static void transaction_apply(struct sway_transaction *transaction) {
|
|||
node->instruction = NULL;
|
||||
}
|
||||
|
||||
if (root->outputs->length) {
|
||||
struct sway_seat *seat;
|
||||
wl_list_for_each(seat, &server.input->seats, link) {
|
||||
if (!seat_doing_seatop(seat)) {
|
||||
cursor_rebase(seat->cursor);
|
||||
}
|
||||
}
|
||||
}
|
||||
cursor_rebase_all();
|
||||
}
|
||||
|
||||
static void transaction_commit(struct sway_transaction *transaction);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue