mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-31 11:08:25 -05:00
Update pointer focus when cycling focus
This commit is contained in:
parent
d446c53fe1
commit
59dd1dddba
3 changed files with 15 additions and 3 deletions
|
|
@ -1186,6 +1186,8 @@ void roots_seat_set_focus(struct roots_seat *seat, struct roots_view *view) {
|
|||
wlr_seat_keyboard_notify_enter(seat->seat, view->wlr_surface,
|
||||
NULL, 0, NULL);
|
||||
}
|
||||
|
||||
roots_cursor_update_focus(seat->cursor);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -1220,6 +1222,8 @@ void roots_seat_set_focus_layer(struct roots_seat *seat,
|
|||
wlr_seat_keyboard_notify_enter(seat->seat, layer->surface,
|
||||
NULL, 0, NULL);
|
||||
}
|
||||
|
||||
roots_cursor_update_focus(seat->cursor);
|
||||
}
|
||||
|
||||
void roots_seat_set_exclusive_client(struct roots_seat *seat,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue