weston/desktop-shell
Stefan Agner a8da208453 desktop-shell: make sure child window stays active
If a xdg_toplevel surface has a child (or multiple), the desktop shell
still allows to activate the parent. This can be problematic with
modal dialogs such as message boxes which then are hidden behind the
main window, which might be non-responsive to inputs at this this
point.

The protocol specifies set_parent as follows: "Set the 'parent' of
this surface. This surface should be stacked above the parent surface
and all other ancestor surfaces."

Track parent/child relationship in desktop-shell. Follow the protocol
recommendation and make sure the child stays stacked above the parent.

Fixes: #231

Signed-off-by: Stefan Agner <stefan@agner.ch>
2020-01-13 13:18:00 +01:00
..
exposay.c libweston: Use struct timespec for key events 2017-11-27 11:42:07 +02:00
input-panel.c libweston: make wl_output point to weston_head 2018-04-10 14:33:59 +03:00
meson.build Link Weston plugins to libexec-weston.so 2019-10-24 13:40:51 +03:00
shell.c desktop-shell: make sure child window stays active 2020-01-13 13:18:00 +01:00
shell.h Rename xwayland-api.h to libweston/xwayland-api.h 2019-04-18 12:31:46 +03:00