Fix segfault on startup

This commit is contained in:
emersion 2017-09-28 23:50:20 +02:00
parent b7927078e9
commit f0a14a318c
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48

View file

@ -56,13 +56,14 @@ enum atom_name {
ATOM_LAST, ATOM_LAST,
}; };
static const char * const atom_map[ATOM_LAST] = { static const char *atom_map[ATOM_LAST] = {
"WL_SURFACE_ID", "WL_SURFACE_ID",
"WM_PROTOCOLS", "WM_PROTOCOLS",
"WM_S0", "WM_S0",
"_NET_SUPPORTED", "_NET_SUPPORTED",
"_NET_WM_S0", "_NET_WM_S0",
"_NET_WM_STATE", "_NET_WM_STATE",
"WM_TAKE_FOCUS",
}; };
struct wlr_xwm { struct wlr_xwm {