aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-05-11 20:02:20 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-05-14 11:26:13 +0000
commit584d2cacf18e885c8b88e5e8472f62ded00881e5 (patch)
treefbc568238d43883ffc7ccd88590cbaa43fa2bf7e
parentmeson: add xdg-activation-v1.xml conditionally (diff)
wayland: workaround epoll-shim defining the macro close
-rw-r--r--wayland.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wayland.c b/wayland.c
index cbceb576..24d22359 100644
--- a/wayland.c
+++ b/wayland.c
@@ -626,7 +626,7 @@ xdg_toplevel_close(void *data, struct xdg_toplevel *xdg_toplevel)
static const struct xdg_toplevel_listener xdg_toplevel_listener = {
.configure = &xdg_toplevel_configure,
- .close = &xdg_toplevel_close,
+ /*.close = */&xdg_toplevel_close, /* epoll-shim defines a macro ‘close’... */
};
static void