*** empty log message ***
authorroot <root>
Sat, 26 Jan 2008 12:12:37 +0000 (12:12 +0000)
committerroot <root>
Sat, 26 Jan 2008 12:12:37 +0000 (12:12 +0000)
src/command.C
src/rxvttoolkit.C

index 348d944d4bf0f4de10bbe5396bf1e80c07d98ccf..02048b5c09a576b638ec46a8500aa7e06a15a28c 100644 (file)
@@ -1440,12 +1440,12 @@ rxvt_term::x_cb (XEvent &ev)
         break;
 
       case ConfigureNotify:
-       fprintf (stderr, "ConfigureNotify for %X, parent is %X, geom is %dx%d%+d%+d, old geom was %dx%d\n",
+        /*fprintf (stderr, "ConfigureNotify for %X, parent is %X, geom is %dx%d%+d%+d, old geom was %dx%d\n",
               ev.xconfigure.window, parent[0], ev.xconfigure.width, ev.xconfigure.height, ev.xconfigure.x, ev.xconfigure.y,
-              szHint.width, szHint.height);
+              szHint.width, szHint.height);*/
         if (ev.xconfigure.window == parent[0])
           {
-            //while (XCheckTypedWindowEvent (dpy, ev.xconfigure.window, ConfigureNotify, &ev))
+            while (XCheckTypedWindowEvent (dpy, ev.xconfigure.window, ConfigureNotify, &ev))
               ;
 
             if (szHint.width != ev.xconfigure.width || szHint.height != ev.xconfigure.height)
index 610b81b19322cad7b7d75a1df188c8a05614420e..b1b0abff69a4aad083e4962bf148a2f74c620882 100644 (file)
@@ -571,14 +571,15 @@ void rxvt_display::x_cb (ev::io &w, int revents)
             }
         }
     }
-
-  flush_ev.start ();
 }
 
 void rxvt_display::flush_cb (ev::prepare &w, int revents)
 {
-  x_cb(x_ev,0);//D
-  XFlush (dpy);
+  while (XEventsQueued (dpy, QueuedAfterFlush))
+    {
+      x_cb(x_ev,0);//D
+    }
+
   w.stop ();
 }