mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-22 01:49:48 +01:00
xwayland: add support for _NET_WM_WINDOW_TYPE_DESKTOP atom
This commit is contained in:
parent
3cc4374542
commit
0867dd4e6b
2 changed files with 3 additions and 0 deletions
|
@ -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 a new issue