waylandsink: Fix in shell_surface_set_fullscreen
authorSreerenj Balachandran <sreerenj.balachandran@intel.com>
Tue, 28 Feb 2012 19:00:24 +0000 (21:00 +0200)
committerStefan Sauer <ensonic@users.sf.net>
Sun, 4 Mar 2012 19:21:37 +0000 (20:21 +0100)
ext/wayland/gstwaylandsink.c

index a073bf0..614e5db 100644 (file)
@@ -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;