diff options
author | Alexander Preisinger <alexander.preisinger@gmail.com> | 2014-01-02 19:33:52 +0100 |
---|---|---|
committer | Alexander Preisinger <alexander.preisinger@gmail.com> | 2014-01-02 20:33:06 +0100 |
commit | e947c72fe968372eb836189b4642bad11a0c80e5 (patch) | |
tree | 88d2c0c1e85aace5a3b331c47991969fa9a01d39 | |
parent | 4350a76a01b63f138d5b5babe3894e6730753877 (diff) | |
download | mpv-e947c72fe968372eb836189b4642bad11a0c80e5.tar.bz2 mpv-e947c72fe968372eb836189b4642bad11a0c80e5.tar.xz |
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.
-rw-r--r-- | video/out/wayland_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |