mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2024-11-21 22:52:20 +00:00
xwayland: add support for _NET_WM_WINDOW_TYPE_DESKTOP atom
This commit is contained in:
parent
3cc4374542
commit
0867dd4e6b
@ -72,6 +72,7 @@ enum atom_name {
|
||||
NET_WM_WINDOW_TYPE_MENU,
|
||||
NET_WM_WINDOW_TYPE_NOTIFICATION,
|
||||
NET_WM_WINDOW_TYPE_SPLASH,
|
||||
NET_WM_WINDOW_TYPE_DESKTOP,
|
||||
DND_SELECTION,
|
||||
DND_AWARE,
|
||||
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_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,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user