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:
80cb4cb
)
*** empty log message ***
author
root
<root>
Sat, 26 Jan 2008 13:13:20 +0000
(13:13 +0000)
committer
root
<root>
Sat, 26 Jan 2008 13:13:20 +0000
(13:13 +0000)
src/rxvttoolkit.C
patch
|
blob
|
history
diff --git
a/src/rxvttoolkit.C
b/src/rxvttoolkit.C
index 7d03cd209e90d0deec7b774a57e250c480edc2a2..535d72b6fa9c850458b49f304a3714741e83cfda 100644
(file)
--- a/
src/rxvttoolkit.C
+++ b/
src/rxvttoolkit.C
@@
-575,13
+575,9
@@
void rxvt_display::x_cb (ev::io &w, int revents)
void rxvt_display::flush_cb (ev::prepare &w, int revents)
{
- 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);
+ while (XEventsQueued (dpy, QueuedAfterFlush))
+ x_cb (x_ev, EV_READ);
+
w.stop ();
}