diff --git a/ext/wayland/gstwaylandsink.c b/ext/wayland/gstwaylandsink.c index a073bf0350..614e5dbce1 100644 --- a/ext/wayland/gstwaylandsink.c +++ b/ext/wayland/gstwaylandsink.c @@ -594,7 +594,8 @@ create_window (GstWaylandSink * sink, struct display *display, int width, window->shell_surface = wl_shell_get_shell_surface (display->shell, window->surface); // wl_shell_surface_set_toplevel (window->shell_surface); - wl_shell_surface_set_fullscreen (window->shell_surface); + wl_shell_surface_set_fullscreen (window->shell_surface, + WL_SHELL_SURFACE_FULLSCREEN_METHOD_DEFAULT, 0, NULL); sink->window = window;