diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-04-27 10:48:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-27 10:48:40 +0200 |
commit | 3feb690aea3cec6b52ef10b20676f7a3c3eacdc7 (patch) | |
tree | 9600be613274a46a78032726e43fc8bda8d22452 | |
parent | 60ae98edd89e993a66b98053f68df862e09a5734 (diff) | |
parent | 7f70d244a9802207c258bd5da6d4ada5eb15484a (diff) |
Merge pull request #919 from emersion/xwayland-chromium-combobox
xwayland: fix some Chromium comboboxes
-rw-r--r-- | include/xwayland/xwm.h | 2 | ||||
-rw-r--r-- | xwayland/xwm.c | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/include/xwayland/xwm.h b/include/xwayland/xwm.h index 82bf726c..08d37736 100644 --- a/include/xwayland/xwm.h +++ b/include/xwayland/xwm.h @@ -62,6 +62,8 @@ enum atom_name { NET_WM_WINDOW_TYPE_POPUP_MENU, NET_WM_WINDOW_TYPE_COMBO, NET_WM_WINDOW_TYPE_MENU, + NET_WM_WINDOW_TYPE_NOTIFICATION, + NET_WM_WINDOW_TYPE_SPLASH, DND_SELECTION, DND_AWARE, DND_STATUS, diff --git a/xwayland/xwm.c b/xwayland/xwm.c index 2e01da6f..6fac6ca4 100644 --- a/xwayland/xwm.c +++ b/xwayland/xwm.c @@ -61,6 +61,8 @@ const char *atom_map[ATOM_LAST] = { "_NET_WM_WINDOW_TYPE_POPUP_MENU", "_NET_WM_WINDOW_TYPE_COMBO", "_NET_WM_WINDOW_TYPE_MENU", + "_NET_WM_WINDOW_TYPE_NOTIFICATION", + "_NET_WM_WINDOW_TYPE_SPLASH", "XdndSelection", "XdndAware", "XdndStatus", @@ -1649,9 +1651,10 @@ bool wlr_xwayland_surface_is_unmanaged( NET_WM_WINDOW_TYPE_DND, NET_WM_WINDOW_TYPE_DROPDOWN_MENU, NET_WM_WINDOW_TYPE_MENU, + NET_WM_WINDOW_TYPE_NOTIFICATION, NET_WM_WINDOW_TYPE_POPUP_MENU, + NET_WM_WINDOW_TYPE_SPLASH, NET_WM_WINDOW_TYPE_TOOLTIP, - NET_WM_WINDOW_TYPE_UTILITY, }; for (size_t i = 0; i < sizeof(needles) / sizeof(needles[0]); ++i) { |