From c5de0b0a6cd40754366ae7f98ddb1079c0623968 Mon Sep 17 00:00:00 2001 From: Alexander Preisinger Date: Thu, 2 Jan 2014 19:33:52 +0100 Subject: wayland: don't change set fullscreen twice Newest weston chrashes if we call set_fullscreen twice. This is a major bug I which I should probably report. --- video/out/wayland_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/video/out/wayland_common.c b/video/out/wayland_common.c index e45483c5f2..f73dc0c2ca 100644 --- a/video/out/wayland_common.c +++ b/video/out/wayland_common.c @@ -810,7 +810,7 @@ static void vo_wayland_border (struct vo *vo) static void vo_wayland_fullscreen (struct vo *vo) { struct vo_wayland_state *wl = vo->wayland; - if (!wl->display.shell) + if (!wl->display.shell || !!vo->opts->fullscreen == wl->window.is_fullscreen) return; struct wl_output *fs_output = wl->display.fs_output; -- cgit v1.2.3