mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
xwayland: validate PID before activating unmanaged surface
Check that an unmanaged surface trying to grab focus is actually a child of the topmost mapped view.
This commit is contained in:
parent
64d62a91b6
commit
5744bba849
3 changed files with 18 additions and 3 deletions
|
|
@ -374,6 +374,7 @@ void foreign_toplevel_update_outputs(struct view *view);
|
|||
void desktop_focus_and_activate_view(struct seat *seat, struct view *view);
|
||||
void desktop_arrange_all_views(struct server *server);
|
||||
void desktop_focus_output(struct output *output);
|
||||
struct view *desktop_topmost_mapped_view(struct server *server);
|
||||
|
||||
enum lab_cycle_dir {
|
||||
LAB_CYCLE_DIR_NONE,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue