mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-02-04 04:06:09 -05:00
xdg_shell: revoke keyboard grab when unfocused
explicit popup grabs should be dismissed when the user dismisses the popup. https://wayland.app/protocols/xdg-shell#xdg_popup:request:grab fixes issue in which keyboard focus remains with parent container of popup/context menu even after pointer focuses to new container.
This commit is contained in:
parent
4fe51aa439
commit
7f70173a70
1 changed files with 1 additions and 1 deletions
|
|
@ -113,7 +113,7 @@ static void xdg_keyboard_grab_enter(struct wlr_seat_keyboard_grab *grab,
|
|||
}
|
||||
|
||||
static void xdg_keyboard_grab_clear_focus(struct wlr_seat_keyboard_grab *grab) {
|
||||
// keyboard focus should remain on the popup
|
||||
wlr_seat_keyboard_end_grab(grab->seat);
|
||||
}
|
||||
|
||||
static void xdg_keyboard_grab_key(struct wlr_seat_keyboard_grab *grab, uint32_t time,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue