xwayland: add support for _NET_WM_WINDOW_TYPE_DESKTOP atom

master
Grigory Kirillov 10 months ago
parent 3cc4374542
commit 0867dd4e6b

@ -72,6 +72,7 @@ enum atom_name {
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,
DND_SELECTION, DND_SELECTION,
DND_AWARE, DND_AWARE,
DND_STATUS, DND_STATUS,

@ -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_MENU] = "_NET_WM_WINDOW_TYPE_MENU",
[NET_WM_WINDOW_TYPE_NOTIFICATION] = "_NET_WM_WINDOW_TYPE_NOTIFICATION", [NET_WM_WINDOW_TYPE_NOTIFICATION] = "_NET_WM_WINDOW_TYPE_NOTIFICATION",
[NET_WM_WINDOW_TYPE_SPLASH] = "_NET_WM_WINDOW_TYPE_SPLASH", [NET_WM_WINDOW_TYPE_SPLASH] = "_NET_WM_WINDOW_TYPE_SPLASH",
[NET_WM_WINDOW_TYPE_DESKTOP] = "_NET_WM_WINDOW_TYPE_DESKTOP",
[DND_SELECTION] = "XdndSelection", [DND_SELECTION] = "XdndSelection",
[DND_AWARE] = "XdndAware", [DND_AWARE] = "XdndAware",
[DND_STATUS] = "XdndStatus", [DND_STATUS] = "XdndStatus",
@ -2323,6 +2324,7 @@ bool wlr_xwayland_or_surface_wants_focus(
NET_WM_WINDOW_TYPE_NOTIFICATION, NET_WM_WINDOW_TYPE_NOTIFICATION,
NET_WM_WINDOW_TYPE_POPUP_MENU, NET_WM_WINDOW_TYPE_POPUP_MENU,
NET_WM_WINDOW_TYPE_SPLASH, NET_WM_WINDOW_TYPE_SPLASH,
NET_WM_WINDOW_TYPE_DESKTOP,
NET_WM_WINDOW_TYPE_TOOLTIP, NET_WM_WINDOW_TYPE_TOOLTIP,
NET_WM_WINDOW_TYPE_UTILITY, NET_WM_WINDOW_TYPE_UTILITY,
}; };

Loading…
Cancel
Save