compositor-wayland: Don't use two different presentation methods for fs shell
authorArmin Krezović <krezovic.armin@gmail.com>
Tue, 7 Feb 2017 20:03:40 +0000 (21:03 +0100)
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>
Fri, 13 Oct 2017 12:22:54 +0000 (15:22 +0300)
commit71ebc052505732b26591b2a5bc5a8be9b7c3e09f
tree5c18884e7b45d774a08d87c865f2244a1cde273d
parentb4e239f29fb17f298c78a7d99b47ef6919edd326
compositor-wayland: Don't use two different presentation methods for fs shell

This patch fixes the wayland backend to not use two different
presentation methods when running on fullscreen-shell.

See also: https://patchwork.freedesktop.org/patch/114534/

v2:

 - Add missing wayland_output_resize_surface() call
 - Start repaint loop after initial frame has been drawn

v3:

 - Redraw the initial frame if present for mode fails

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93514
Signed-off-by: Armin Krezović <krezovic.armin@gmail.com>
Tested-by: nerdopolis <bluescreen_avenger@verizon.net>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
libweston/compositor-wayland.c