From efadbf84249e419b52c3f4bca10f8cd5b7f3d942 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Thu, 28 Sep 2017 18:47:20 -0400 Subject: Fix atom_map usage --- xwayland/xwm.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'xwayland/xwm.c') diff --git a/xwayland/xwm.c b/xwayland/xwm.c index 1feb4bd0..862db70b 100644 --- a/xwayland/xwm.c +++ b/xwayland/xwm.c @@ -5,6 +5,16 @@ #include "wlr/xwayland.h" #include "xwm.h" +const char *atom_map[ATOM_LAST] = { + "WL_SURFACE_ID", + "WM_PROTOCOLS", + "WM_S0", + "_NET_SUPPORTED", + "_NET_WM_S0", + "_NET_WM_STATE", + "WM_TAKE_FOCUS", +}; + /* General helpers */ // TODO: replace this with hash table? static struct wlr_xwayland_surface *lookup_surface(struct wl_list *list, -- cgit v1.2.3