(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)
|
if (new_width != *width || new_height != *height)
|
||||||
{
|
{
|
||||||
*resize = true;
|
|
||||||
*width = new_width;
|
*width = new_width;
|
||||||
*height = new_height;
|
*height = new_height;
|
||||||
|
*resize = true;
|
||||||
|
#ifdef HAVE_MENU
|
||||||
|
rarch_ctl(RARCH_CTL_SET_DEFERRED_MENU_CONTEXT_RESET, NULL);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
x11_alive(data);
|
x11_alive(data);
|
||||||
|
|
Loading…
Reference in New Issue