aboutsummaryrefslogtreecommitdiff
path: root/examples/idle-inhibit.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/idle-inhibit.c')
-rw-r--r--examples/idle-inhibit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/idle-inhibit.c b/examples/idle-inhibit.c
index 829da851..44a7f5b5 100644
--- a/examples/idle-inhibit.c
+++ b/examples/idle-inhibit.c
@@ -193,7 +193,7 @@ int main(int argc, char **argv) {
}
EGLint attribs[] = { EGL_NONE };
- wlr_egl_init(&egl, EGL_PLATFORM_WAYLAND_EXT, display, attribs, 0);
+ wlr_egl_init(&egl, EGL_PLATFORM_WAYLAND_EXT, display, attribs);
struct wl_surface *surface = wl_compositor_create_surface(compositor);
struct xdg_surface *xdg_surface =