aboutsummaryrefslogtreecommitdiff
path: root/xwayland/xwm.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-09-28 18:47:20 -0400
committerDrew DeVault <sir@cmpwn.com>2017-09-28 18:47:20 -0400
commitefadbf84249e419b52c3f4bca10f8cd5b7f3d942 (patch)
tree3d57bde189db15d6af6046433e149890f4a4d16f /xwayland/xwm.c
parentf8f4e6a35b567be55725fa35cb58b7ce793c9105 (diff)
Fix atom_map usage
Diffstat (limited to 'xwayland/xwm.c')
-rw-r--r--xwayland/xwm.c10
1 files changed, 10 insertions, 0 deletions
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,