summaryrefslogtreecommitdiff
path: root/lib/renderers/wayland/wayland.c
diff options
context:
space:
mode:
authorJari Vetoniemi <mailRoxas@gmail.com>2019-04-24 02:44:38 +0300
committerGitHub <noreply@github.com>2019-04-24 02:44:38 +0300
commit6cc18e381c3b2e29d2bbb3fe1334da43e62f7ede (patch)
tree7c89af37018877af331042d6e82f0e84dbd9ac42 /lib/renderers/wayland/wayland.c
parent8ad07cff1121ca8444aa74161792928adef21501 (diff)
parent620ae690209a36b680524f4a4d8bec2f464f05fa (diff)
downloadbemenu-6cc18e381c3b2e29d2bbb3fe1334da43e62f7ede.tar.gz
bemenu-6cc18e381c3b2e29d2bbb3fe1334da43e62f7ede.tar.bz2
bemenu-6cc18e381c3b2e29d2bbb3fe1334da43e62f7ede.zip
Merge pull request #52 from t6/patch-freebsd
FreeBSD support
Diffstat (limited to 'lib/renderers/wayland/wayland.c')
-rw-r--r--lib/renderers/wayland/wayland.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/renderers/wayland/wayland.c b/lib/renderers/wayland/wayland.c
index 442b0f6..603cd8b 100644
--- a/lib/renderers/wayland/wayland.c
+++ b/lib/renderers/wayland/wayland.c
@@ -286,7 +286,7 @@ constructor(struct bm_menu *menu)
wl_list_insert(&wayland->windows, &window->link);
}
- if (!efd && (efd = epoll_create(EPOLL_CLOEXEC)) < 0)
+ if (!efd && (efd = epoll_create1(EPOLL_CLOEXEC)) < 0)
goto fail;
struct epoll_event ep;