diff options
Diffstat (limited to 'include/sway/xwayland.h')
-rw-r--r-- | include/sway/xwayland.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/include/sway/xwayland.h b/include/sway/xwayland.h new file mode 100644 index 00000000..78d1053b --- /dev/null +++ b/include/sway/xwayland.h | |||
@@ -0,0 +1,25 @@ | |||
1 | #ifndef SWAY_XWAYLAND_H | ||
2 | #define SWAY_XWAYLAND_H | ||
3 | |||
4 | #include <wlr/xwayland.h> | ||
5 | #include <xcb/xproto.h> | ||
6 | |||
7 | enum atom_name { | ||
8 | NET_WM_WINDOW_TYPE_DIALOG, | ||
9 | NET_WM_WINDOW_TYPE_UTILITY, | ||
10 | NET_WM_WINDOW_TYPE_TOOLBAR, | ||
11 | NET_WM_WINDOW_TYPE_SPLASH, | ||
12 | NET_WM_STATE_MODAL, | ||
13 | ATOM_LAST, | ||
14 | }; | ||
15 | |||
16 | struct sway_xwayland { | ||
17 | struct wlr_xwayland *wlr_xwayland; | ||
18 | struct wlr_xcursor_manager *xcursor_manager; | ||
19 | |||
20 | xcb_atom_t atoms[ATOM_LAST]; | ||
21 | }; | ||
22 | |||
23 | void handle_xwayland_ready(struct wl_listener *listener, void *data); | ||
24 | |||
25 | #endif | ||