From 1e20dc18f72de1002d4e5243f98137810d11eec8 Mon Sep 17 00:00:00 2001 From: Alexander Monakov Date: Wed, 16 Oct 2013 20:17:15 +0400 Subject: [PATCH] glretrace: reapply fix for #178 to original GLX code --- retrace/glws_glx.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/retrace/glws_glx.cpp b/retrace/glws_glx.cpp index 5de8450..d150aa6 100644 --- a/retrace/glws_glx.cpp +++ b/retrace/glws_glx.cpp @@ -183,8 +183,6 @@ public: Drawable::resize(w, h); - XResizeWindow(display, window, w, h); - // Tell the window manager to respect the requested size XSizeHints size_hints; size_hints.max_width = size_hints.min_width = w; @@ -192,6 +190,8 @@ public: size_hints.flags = PMinSize | PMaxSize; XSetWMNormalHints(display, window, &size_hints); + XResizeWindow(display, window, w, h); + waitForEvent(ConfigureNotify); glXWaitX(); -- 2.43.0