wayland: use scale fullscreen method.

This makes the compositor scale the surface to fit and preserves
aspect ratio.

https://bugzilla.gnome.org/show_bug.cgi?id=681453
This commit is contained in:
Sreerenj Balachandran 2012-08-17 11:12:22 +03:00 committed by Tim-Philipp Müller
parent dc81682f4b
commit 547d679e9e

View file

@ -433,7 +433,7 @@ create_window (GstWaylandSink * sink, struct display *display, int width,
wl_shell_surface_set_toplevel (window->shell_surface);
wl_shell_surface_set_fullscreen (window->shell_surface,
WL_SHELL_SURFACE_FULLSCREEN_METHOD_DEFAULT, 0, NULL);
WL_SHELL_SURFACE_FULLSCREEN_METHOD_SCALE, 0, NULL);
sink->window = window;