diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/idle-inhibit.c | 2 | ||||
-rw-r--r-- | examples/input-inhibitor.c | 2 | ||||
-rw-r--r-- | examples/keyboard-shortcuts-inhibit.c | 2 | ||||
-rw-r--r-- | examples/layer-shell.c | 2 | ||||
-rw-r--r-- | examples/pointer-constraints.c | 2 | ||||
-rw-r--r-- | examples/relative-pointer-unstable-v1.c | 2 | ||||
-rw-r--r-- | examples/text-input.c | 2 | ||||
-rw-r--r-- | examples/toplevel-decoration.c | 2 |
8 files changed, 8 insertions, 8 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 = diff --git a/examples/input-inhibitor.c b/examples/input-inhibitor.c index 06aa4142..80be3916 100644 --- a/examples/input-inhibitor.c +++ b/examples/input-inhibitor.c @@ -158,7 +158,7 @@ int main(int argc, char **argv) { assert(input_inhibitor); 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); assert(surface); diff --git a/examples/keyboard-shortcuts-inhibit.c b/examples/keyboard-shortcuts-inhibit.c index 8551973c..1b2d7aab 100644 --- a/examples/keyboard-shortcuts-inhibit.c +++ b/examples/keyboard-shortcuts-inhibit.c @@ -225,7 +225,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 = diff --git a/examples/layer-shell.c b/examples/layer-shell.c index 6975bf41..6d1cb78c 100644 --- a/examples/layer-shell.c +++ b/examples/layer-shell.c @@ -611,7 +611,7 @@ int main(int argc, char **argv) { assert(cursor_surface); EGLint attribs[] = { EGL_ALPHA_SIZE, 8, EGL_NONE }; - wlr_egl_init(&egl, EGL_PLATFORM_WAYLAND_EXT, display, attribs, 0); + wlr_egl_init(&egl, EGL_PLATFORM_WAYLAND_EXT, display, attribs); wl_surface = wl_compositor_create_surface(compositor); assert(wl_surface); diff --git a/examples/pointer-constraints.c b/examples/pointer-constraints.c index 19b28e98..e020c5e7 100644 --- a/examples/pointer-constraints.c +++ b/examples/pointer-constraints.c @@ -212,7 +212,7 @@ int main(int argc, char **argv) { regions[REGION_TYPE_JOINT] = joint_region; 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 = diff --git a/examples/relative-pointer-unstable-v1.c b/examples/relative-pointer-unstable-v1.c index b6e56f84..de7919bd 100644 --- a/examples/relative-pointer-unstable-v1.c +++ b/examples/relative-pointer-unstable-v1.c @@ -444,7 +444,7 @@ int main(int argc, char **argv) { e->width = e->height = 512; EGLint attribs[] = { EGL_NONE }; - wlr_egl_init(e->egl, EGL_PLATFORM_WAYLAND_EXT, display, attribs, 0); + wlr_egl_init(e->egl, EGL_PLATFORM_WAYLAND_EXT, display, attribs); /* Create the surface and xdg_toplevels, and set listeners */ diff --git a/examples/text-input.c b/examples/text-input.c index cc89cbf4..8559810f 100644 --- a/examples/text-input.c +++ b/examples/text-input.c @@ -364,7 +364,7 @@ int main(int argc, char **argv) { zwp_text_input_v3_add_listener(text_input, &text_input_listener, NULL); 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 = diff --git a/examples/toplevel-decoration.c b/examples/toplevel-decoration.c index 4f309feb..f10ac742 100644 --- a/examples/toplevel-decoration.c +++ b/examples/toplevel-decoration.c @@ -219,7 +219,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 = |