diff options
author | Grigory Kirillov <txgk@bk.ru> | 2024-01-25 19:27:37 +0300 |
---|---|---|
committer | Grigory Kirillov <txgk@bk.ru> | 2024-01-25 19:27:37 +0300 |
commit | 0867dd4e6bf1c0ff8d947d563bdd333464a1c0a8 (patch) | |
tree | 19217e5666d5e1a5fe6b1d84e6d6238545c04248 /xwayland/xwm.c | |
parent | 3cc43745421efda2090e74d14b6345103ef241d4 (diff) |
xwayland: add support for _NET_WM_WINDOW_TYPE_DESKTOP atom
Diffstat (limited to 'xwayland/xwm.c')
-rw-r--r-- | xwayland/xwm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xwayland/xwm.c b/xwayland/xwm.c index b6a794dc..9a6cf771 100644 --- a/xwayland/xwm.c +++ b/xwayland/xwm.c @@ -74,6 +74,7 @@ static const char *const atom_map[ATOM_LAST] = { [NET_WM_WINDOW_TYPE_MENU] = "_NET_WM_WINDOW_TYPE_MENU", [NET_WM_WINDOW_TYPE_NOTIFICATION] = "_NET_WM_WINDOW_TYPE_NOTIFICATION", [NET_WM_WINDOW_TYPE_SPLASH] = "_NET_WM_WINDOW_TYPE_SPLASH", + [NET_WM_WINDOW_TYPE_DESKTOP] = "_NET_WM_WINDOW_TYPE_DESKTOP", [DND_SELECTION] = "XdndSelection", [DND_AWARE] = "XdndAware", [DND_STATUS] = "XdndStatus", @@ -2323,6 +2324,7 @@ bool wlr_xwayland_or_surface_wants_focus( NET_WM_WINDOW_TYPE_NOTIFICATION, NET_WM_WINDOW_TYPE_POPUP_MENU, NET_WM_WINDOW_TYPE_SPLASH, + NET_WM_WINDOW_TYPE_DESKTOP, NET_WM_WINDOW_TYPE_TOOLTIP, NET_WM_WINDOW_TYPE_UTILITY, }; |