aboutsummaryrefslogtreecommitdiff
path: root/include/sway/tree
diff options
context:
space:
mode:
authorTuomas Yrjölä <mail@yrhki.fi>2022-01-17 19:47:42 +0200
committerSimon Ser <contact@emersion.fr>2022-01-31 11:23:36 +0100
commit69b430201cb19c666f102586b18f1dfbda7c44a3 (patch)
tree2cae09d689061602acc4d1d6bb22c87d6e2c8aa4 /include/sway/tree
parent518e18a54b9fc07682b46f6bb3bb848ff8760a7f (diff)
downloadsway-69b430201cb19c666f102586b18f1dfbda7c44a3.tar.xz
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
Diffstat (limited to 'include/sway/tree')
-rw-r--r--include/sway/tree/view.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sway/tree/view.h b/include/sway/tree/view.h
index 789a67c0..9e34b0d1 100644
--- a/include/sway/tree/view.h
+++ b/include/sway/tree/view.h
@@ -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;