projects
/
dana
/
urxvt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d2518c
)
*** empty log message ***
author
root
<root>
Sat, 26 Jan 2008 12:12:38 +0000
(12:12 +0000)
committer
root
<root>
Sat, 26 Jan 2008 12:12:38 +0000
(12:12 +0000)
src/rxvttoolkit.C
patch
|
blob
|
history
diff --git
a/src/rxvttoolkit.C
b/src/rxvttoolkit.C
index
b1b0abf
..
7d03cd2
100644
(file)
--- a/
src/rxvttoolkit.C
+++ b/
src/rxvttoolkit.C
@@
-575,11
+575,13
@@
void rxvt_display::x_cb (ev::io &w, int revents)
void rxvt_display::flush_cb (ev::prepare &w, int revents)
{
- while (XEventsQueued (dpy, QueuedAfterFlush))
- {
- x_cb(x_ev,0);//D
- }
-
+ XFlush (dpy);
+ if (XEventsQueued (dpy, QueuedAfterReading))
+ x_cb(x_ev,0);//D
+ XFlush (dpy);
+ if (XEventsQueued (dpy, QueuedAfterReading))
+ x_cb(x_ev,0);//D
+ XFlush (dpy);
w.stop ();
}