mirror of
https://cagebreak.project-repo.co/cagebreak.git
synced 2026-08-09 15:19:11 +02:00
Ensure correct focus of keyboard
This commit is contained in:
parent
98eb1a4be8
commit
a69cf18f7c
1 changed files with 1 additions and 0 deletions
1
seat.c
1
seat.c
|
|
@ -1002,6 +1002,7 @@ seat_set_focus(struct cg_seat *seat, struct cg_view *view) {
|
|||
free(title);
|
||||
|
||||
struct wlr_keyboard *keyboard = wlr_seat_get_keyboard(wlr_seat);
|
||||
wlr_seat_keyboard_end_grab(wlr_seat);
|
||||
if(keyboard) {
|
||||
wlr_seat_keyboard_notify_enter(
|
||||
wlr_seat, view->wlr_surface, keyboard->keycodes,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue