mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
(X11) Better resizing of menu when window is resized
This commit is contained in:
parent
23646a959d
commit
aa428e4a82
@ -606,9 +606,12 @@ void x11_check_window(void *data, bool *quit,
|
||||
|
||||
if (new_width != *width || new_height != *height)
|
||||
{
|
||||
*resize = true;
|
||||
*width = new_width;
|
||||
*height = new_height;
|
||||
*resize = true;
|
||||
#ifdef HAVE_MENU
|
||||
rarch_ctl(RARCH_CTL_SET_DEFERRED_MENU_CONTEXT_RESET, NULL);
|
||||
#endif
|
||||
}
|
||||
|
||||
x11_alive(data);
|
||||
|
Loading…
x
Reference in New Issue
Block a user