aboutsummaryrefslogtreecommitdiff
path: root/xwayland/xwm.h
diff options
context:
space:
mode:
Diffstat (limited to 'xwayland/xwm.h')
-rw-r--r--xwayland/xwm.h13
1 files changed, 3 insertions, 10 deletions
diff --git a/xwayland/xwm.h b/xwayland/xwm.h
index 7fc6f3bf..ecbab535 100644
--- a/xwayland/xwm.h
+++ b/xwayland/xwm.h
@@ -56,14 +56,7 @@ enum atom_name {
ATOM_LAST,
};
-static const char * const atom_map[ATOM_LAST] = {
- "WL_SURFACE_ID",
- "WM_PROTOCOLS",
- "WM_S0",
- "_NET_SUPPORTED",
- "_NET_WM_S0",
- "_NET_WM_STATE",
-};
+extern const char *atom_map[ATOM_LAST];
struct wlr_xwm {
struct wlr_xwayland *xwayland;
@@ -75,8 +68,8 @@ struct wlr_xwm {
xcb_screen_t *screen;
xcb_window_t window;
- struct wl_list new_windows;
- struct wl_list unpaired_windows;
+ struct wl_list new_surfaces;
+ struct wl_list unpaired_surfaces;
};
void xwm_destroy(struct wlr_xwm *xwm);