diff --git a/xwin.c b/xwin.c index e9b8b0f..3cd8092 100644 --- a/xwin.c +++ b/xwin.c @@ -2811,14 +2811,15 @@ xwin_process_events(void) "xwin_process_events(), ConfigureNotify: Root window changed to %dx%d", xevent.xconfigure.width, xevent.xconfigure.height); - XRRUpdateConfiguration(&xevent); - XSync(g_display, False); gettimeofday(&g_resize_timer, NULL); g_pending_resize = True; } } + XRRUpdateConfiguration(&xevent); + XSync(g_display, False); + } else #endif if (xevent.xconfigure.window == g_wnd && !g_seamless_rdp && is_g_wnd_mapped)