mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-15 08:22:07 -04:00
Add grab to wlr_xdg_popup.events
...so that compositors can give keyboard focus to unfocused layer-shell clients on popup grab. A use case is to give xfce4-panel and lxqt-panel keyboard focus when their respective menus are opened via IPC mechanisms (xfce4-panel-applicationmenu and lxqt-qdbus-openmenu respectively).
This commit is contained in:
parent
436bcf9a47
commit
6a7d78bb54
2 changed files with 5 additions and 0 deletions
|
|
@ -108,6 +108,7 @@ struct wlr_xdg_popup {
|
|||
struct wl_signal destroy;
|
||||
|
||||
struct wl_signal reposition;
|
||||
struct wl_signal grab;
|
||||
} events;
|
||||
|
||||
struct wl_list grab_link; // wlr_xdg_popup_grab.popups
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue