waylandsink: Fix in shell_surface_set_fullscreen

This commit is contained in:
Sreerenj Balachandran 2012-02-28 21:00:24 +02:00 committed by Stefan Sauer
parent 2747aefaf7
commit e012ea80ff

View 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;