summaryrefslogtreecommitdiff
path: root/lib/libX11/src/OpenDis.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libX11/src/OpenDis.c')
-rw-r--r--lib/libX11/src/OpenDis.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libX11/src/OpenDis.c b/lib/libX11/src/OpenDis.c
index 636860e24..82723578e 100644
--- a/lib/libX11/src/OpenDis.c
+++ b/lib/libX11/src/OpenDis.c
@@ -197,8 +197,8 @@ XOpenDisplay (
dpy->idlist_alloc = _XAllocIDs;
dpy->synchandler = NULL;
dpy->savedsynchandler = NULL;
- dpy->request = 0;
- dpy->last_request_read = 0;
+ X_DPY_SET_REQUEST(dpy, 0);
+ X_DPY_SET_LAST_REQUEST_READ(dpy, 0);
dpy->default_screen = iscreen; /* Value returned by ConnectDisplay */
dpy->last_req = (char *)&_dummy_request;