wayland: use scale fullscreen method.

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

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
This commit is contained in:
Kristian Høgsberg 2012-07-26 09:28:51 -04:00 committed by Gwenole Beauchesne
parent 44d6f7631b
commit 22b2c2cb4f

View file

@ -123,7 +123,7 @@ gst_vaapi_window_wayland_create(
wl_shell_surface_set_toplevel(priv->shell_surface);
wl_shell_surface_set_fullscreen(
priv->shell_surface,
WL_SHELL_SURFACE_FULLSCREEN_METHOD_DEFAULT,
WL_SHELL_SURFACE_FULLSCREEN_METHOD_SCALE,
0,
NULL
);