(X11) Better resizing of menu when window is resized

This commit is contained in:
twinaphex 2019-08-24 20:49:47 +02:00
parent 23646a959d
commit aa428e4a82

View File

@ -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);