xwayland: listen to request_activate event

When REAPER submenu is closed `XCB_CLIENT_MESSAGE` with type
`NET_ACTIVE_WINDOW` is sent to set focus to parent menu.

Closes: https://github.com/swaywm/sway/issues/6324
This commit is contained in:
Tuomas Yrjölä 2022-01-17 19:47:42 +02:00
parent cd1ee0e172
commit b2852c5dd6
2 changed files with 18 additions and 0 deletions

View file

@ -169,6 +169,7 @@ struct sway_xwayland_unmanaged {
int lx, ly;
struct wl_listener request_activate;
struct wl_listener request_configure;
struct wl_listener request_fullscreen;
struct wl_listener commit;