mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
(Wayland) Fix splash screen when using xdg_toplevel
This commit is contained in:
parent
82c69995f0
commit
c6892d03c3
@ -90,12 +90,9 @@ static void handle_toplevel_config_common(void *data,
|
||||
break;
|
||||
}
|
||||
}
|
||||
if ( width > 0
|
||||
&& height > 0)
|
||||
{
|
||||
wl->width = width;
|
||||
wl->height = height;
|
||||
}
|
||||
|
||||
wl->width = width > 0 ? width : DEFAULT_WINDOWED_WIDTH;
|
||||
wl->height = height > 0 ? height : DEFAULT_WINDOWED_HEIGHT;
|
||||
|
||||
#ifdef HAVE_EGL
|
||||
if (wl->win)
|
||||
|
@ -83,12 +83,9 @@ static void handle_toplevel_config_common(void *data,
|
||||
break;
|
||||
}
|
||||
}
|
||||
if ( width > 0
|
||||
&& height > 0)
|
||||
{
|
||||
wl->width = width;
|
||||
wl->height = height;
|
||||
}
|
||||
|
||||
wl->width = width > 0 ? width : DEFAULT_WINDOWED_WIDTH;
|
||||
wl->height = height > 0 ? height : DEFAULT_WINDOWED_HEIGHT;
|
||||
|
||||
wl->configured = false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user