compositor-wayland: allow to unset fullscreen
authorPekka Paalanen <pekka.paalanen@collabora.co.uk>
Wed, 18 Oct 2017 09:18:39 +0000 (12:18 +0300)
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>
Tue, 24 Oct 2017 09:51:35 +0000 (12:51 +0300)
commit7d2fc9291b505cf0df2618686bb885a3219f1435
tree64450914b86934945330512cb3fcb9bca59c8509
parentf13227945515f3d2f654573bda861505e86e6ffa
compositor-wayland: allow to unset fullscreen

To be more symmetric with wayland_output_set_fullscreen(), implement the
xdg-shell path in wayland_output_set_windowed(). This should make it
possible to use the fullscreen key binding to toggle between a floating
window and fullscreen also under xdg-shell.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Reviewed-by: Quentin Glidic <sardemff7+git@sardemff7.net>
Acked-by: Daniel Stone <daniels@collabora.com>
libweston/compositor-wayland.c