aboutsummaryrefslogtreecommitdiff
path: root/examples/keyboard-shortcuts-inhibit.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/keyboard-shortcuts-inhibit.c')
-rw-r--r--examples/keyboard-shortcuts-inhibit.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/keyboard-shortcuts-inhibit.c b/examples/keyboard-shortcuts-inhibit.c
index bc90f7b4..8551973c 100644
--- a/examples/keyboard-shortcuts-inhibit.c
+++ b/examples/keyboard-shortcuts-inhibit.c
@@ -224,7 +224,8 @@ int main(int argc, char **argv) {
return EXIT_FAILURE;
}
- wlr_egl_init(&egl, EGL_PLATFORM_WAYLAND_EXT, display, NULL, 0);
+ EGLint attribs[] = { EGL_NONE };
+ wlr_egl_init(&egl, EGL_PLATFORM_WAYLAND_EXT, display, attribs, 0);
struct wl_surface *surface = wl_compositor_create_surface(compositor);
struct xdg_surface *xdg_surface =