wmii

git clone git://oldgit.suckless.org/wmii/
Log | Files | Refs | README | LICENSE

commit 362a2767bd22c508c8e4de439fa6a4639155b006
parent 3b03fb1c94a2840b4fd57a3d0ca0cf8bf6e7f1b3
Author: Anselm R. Garbe <garbeam@wmii.de>
Date:   Wed,  8 Feb 2006 18:35:40 +0100

increasing X performance through adding check_x_event call in each fcall loop


Diffstat:
cmd/wm/fs.c | 1+
cmd/wm/page.c | 4+---
2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/cmd/wm/fs.c b/cmd/wm/fs.c @@ -991,6 +991,7 @@ do_fcall(IXPConn *c) if(errstr) ixp_server_respond_error(c, &fcall, errstr); } + check_x_event(nil); } void diff --git a/cmd/wm/page.c b/cmd/wm/page.c @@ -76,10 +76,8 @@ destroy_page(Page *p) /* determine what to focus and do that */ if(page[sel]) focus_page(page[sel]); - else { + else do_pend_fcall("NoPage\n"); - XSetInputFocus(dpy, PointerRoot, RevertToPointerRoot, CurrentTime); - } } void