summaryrefslogtreecommitdiff
path: root/src/XGtSelect.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/XGtSelect.c')
-rw-r--r--src/XGtSelect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XGtSelect.c b/src/XGtSelect.c
index f890db7..5c0f812 100644
--- a/src/XGtSelect.c
+++ b/src/XGtSelect.c
@@ -104,7 +104,7 @@ XGetSelectedExtensionEvents(
(XEventClass *) Xmalloc(*this_client_count *
sizeof(XEventClass));
if (!*this_client_list) {
- _XEatData(dpy, (unsigned long)tlen + alen);
+ _XEatDataWords(dpy, rep.length);
UnlockDisplay(dpy);
SyncHandle();
return (Success);