aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDominique Martinet <asmadeus@codewreck.org>2018-03-04 11:16:14 +0100
committerDominique Martinet <asmadeus@codewreck.org>2018-03-04 11:16:18 +0100
commit2910972b25a211ecd07c605d4bf93897ef5f715a (patch)
treee1321aaed4724b108c31ce3e02e491b1c8c36ea5 /include
parentd9a724c4a21abd58a6dd73d596ea02d46f68897a (diff)
xwm.h: fix guard ifdef and remove wlr_ prefix from xwm_atoms_contains
Diffstat (limited to 'include')
-rw-r--r--include/xwayland/xwm.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/xwayland/xwm.h b/include/xwayland/xwm.h
index e918ac11..4b15cc84 100644
--- a/include/xwayland/xwm.h
+++ b/include/xwayland/xwm.h
@@ -1,5 +1,5 @@
-#ifndef WLR_XWM_H
-#define WLR_XWM_H
+#ifndef XWAYLAND_XWM_H
+#define XWAYLAND_XWM_H
#include <wayland-server-core.h>
#include <wlr/xwayland.h>
@@ -129,7 +129,7 @@ void xwm_selection_finish(struct wlr_xwm *xwm);
void xwm_set_seat(struct wlr_xwm *xwm, struct wlr_seat *seat);
-bool wlr_xwm_atoms_contains(struct wlr_xwm *xwm, xcb_atom_t *atoms,
+bool xwm_atoms_contains(struct wlr_xwm *xwm, xcb_atom_t *atoms,
size_t num_atoms, enum atom_name needle);
#endif