aboutsummaryrefslogtreecommitdiff
path: root/xwayland/xwm.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-09-28 19:05:59 -0400
committerGitHub <noreply@github.com>2017-09-28 19:05:59 -0400
commite4ad534ab41b01a08b6b4f19aa47805f6040f7b4 (patch)
treee29b0788e128fb8fb228fa5dc8af24a0f47cd887 /xwayland/xwm.h
parent262c3b1638d42012d6be9ce9f5a3f4c2f7cdaae1 (diff)
parent10240af6ea2e3cef474c2e79e9ca220f028cce2d (diff)
Merge pull request #167 from emersion/xwayland
[WIP] Improve xwayland
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);