From 3f926ca88af3b18ac6fd6ab61db0c218d1f193e4 Mon Sep 17 00:00:00 2001 From: Daniel Martin Date: Sun, 17 Feb 2013 17:04:57 +0100 Subject: [PATCH] Just sync when exceed buffer and do not try to send a GetInputFocus. Signed-off-by: Daniel Martin --- src/XlibInt.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/XlibInt.c b/src/XlibInt.c index 2827c10..a6b2b68 100644 --- a/src/XlibInt.c +++ b/src/XlibInt.c @@ -224,12 +224,7 @@ void sync_while_locked(Display *dpy) void _XSeqSyncFunction( register Display *dpy) { - xGetInputFocusReply rep; - register xReq *req; - if ((dpy->request - dpy->last_request_read) >= (65535 - BUFSIZE/SIZEOF(xReq))) { - GetEmptyReq(GetInputFocus, req); - (void) _XReply (dpy, (xReply *)&rep, 0, xTrue); sync_while_locked(dpy); } else if (sync_hazard(dpy)) _XSetPrivSyncFunction(dpy); -- 1.8.1.3