mirror of
https://github.com/labwc/labwc.git
synced 2026-02-24 01:40:15 -05:00
Give keyboard focus to xdg-popups of unfocused layer-shell clients
...in support of enabling panel menus to be opened by keyboard shortcuts and get keyboard focus so that they can be operated with the keyboard. An example use-case is the xfce4-panel applications-menu being opened by the command xfce4-popup-applicationmenu.
This commit is contained in:
parent
89325fbff8
commit
180293e0bb
4 changed files with 70 additions and 0 deletions
|
|
@ -30,6 +30,7 @@ struct lab_layer_popup {
|
|||
struct wlr_xdg_popup *wlr_popup;
|
||||
struct wlr_scene_tree *scene_tree;
|
||||
struct server *server;
|
||||
struct lab_layer_surface *lab_layer_surface;
|
||||
|
||||
/* To simplify moving popup nodes from the bottom to the top layer */
|
||||
struct wlr_box output_toplevel_sx_box;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue