diff options
author | emersion <contact@emersion.fr> | 2018-02-27 09:47:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-27 09:47:23 +0100 |
commit | c2ba1869ce0ffd0e21238c8a4454ac29215ff7d0 (patch) | |
tree | 87c2ea4b7a0a75f21a3868e554bb50df1015615a /include/wlr | |
parent | 1171368cfca8e0af9a047d71cbcd40343b486db1 (diff) | |
parent | bb676013ed1b1b48847694a2159e3b009636b181 (diff) |
Merge pull request #670 from Ongy/xwayland_unmanaged
add xwayland unmanaged tests to support dmenu
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/xwayland.h | 1 | ||||
-rw-r--r-- | include/wlr/xwm.h | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/include/wlr/xwayland.h b/include/wlr/xwayland.h index ad7ceb83..0d4b91ed 100644 --- a/include/wlr/xwayland.h +++ b/include/wlr/xwayland.h @@ -186,4 +186,5 @@ void wlr_xwayland_surface_set_fullscreen(struct wlr_xwayland_surface *surface, void wlr_xwayland_set_seat(struct wlr_xwayland *xwayland, struct wlr_seat *seat); +bool wlr_xwayland_surface_is_unmanaged(const struct wlr_xwayland_surface *surface); #endif diff --git a/include/wlr/xwm.h b/include/wlr/xwm.h index 65681607..7d518f7e 100644 --- a/include/wlr/xwm.h +++ b/include/wlr/xwm.h @@ -39,6 +39,12 @@ enum atom_name { INCR, TEXT, TIMESTAMP, + NET_WM_WINDOW_TYPE_UTILITY, + NET_WM_WINDOW_TYPE_TOOLTIP, + NET_WM_WINDOW_TYPE_DND, + NET_WM_WINDOW_TYPE_DROPDOWN_MENU, + NET_WM_WINDOW_TYPE_POPUP_MENU, + NET_WM_WINDOW_TYPE_COMBO, ATOM_LAST, }; @@ -113,4 +119,7 @@ void xwm_selection_finish(struct wlr_xwm *xwm); void xwm_set_seat(struct wlr_xwm *xwm, struct wlr_seat *seat); +bool wlr_xwm_atoms_contains(struct wlr_xwm *xwm, xcb_atom_t *atoms, + size_t num_atoms, enum atom_name needle); + #endif |