mirror of
https://github.com/labwc/labwc.git
synced 2026-02-24 01:40:15 -05:00
layer: focus popup rather than layer-shell surface
When a opening a layer-shell popup via IPC (like `lxVqt-qdbus openmenu` or `xfce4-popup-applicationsmenu`), give keyboard focus to the popup, not the parent layer-shell surface. Written-by: @tokyo4j
This commit is contained in:
parent
00ad5a03f2
commit
bdbb1be35a
2 changed files with 20 additions and 18 deletions
|
|
@ -30,7 +30,6 @@ 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;
|
||||
bool parent_was_focused;
|
||||
|
||||
/* To simplify moving popup nodes from the bottom to the top layer */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue