aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2017-09-28 23:50:20 +0200
committeremersion <contact@emersion.fr>2017-09-28 23:50:20 +0200
commitf0a14a318cd3d8723b42d2889f0170bf211a844c (patch)
tree0c432aaff70c8bb72f6852a508b268f6862c4345
parentb7927078e9b2dec995eaec8240a87b683349aefb (diff)
Fix segfault on startup
-rw-r--r--xwayland/xwm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/xwayland/xwm.h b/xwayland/xwm.h
index 869eb303..7ff87ea0 100644
--- a/xwayland/xwm.h
+++ b/xwayland/xwm.h
@@ -56,13 +56,14 @@ enum atom_name {
ATOM_LAST,
};
-static const char * const atom_map[ATOM_LAST] = {
+static const char *atom_map[ATOM_LAST] = {
"WL_SURFACE_ID",
"WM_PROTOCOLS",
"WM_S0",
"_NET_SUPPORTED",
"_NET_WM_S0",
"_NET_WM_STATE",
+ "WM_TAKE_FOCUS",
};
struct wlr_xwm {