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.
This commit is contained in:
1 parent
4350a76a01
commit
e947c72fe9
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user