aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/X11
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-03-16 18:30:56 -0700
committerUlrich Sibiller <uli42@gmx.de>2016-10-19 21:40:27 +0200
commit47d0ea1ba5bdd53d5df2cd06ffb637c889cf5e03 (patch)
tree063f11a9f783891f62bcb052d9e7eed290d9604c /nx-X11/lib/X11
parent4988e9bd927165af0914c3a598751e1bd775f9b1 (diff)
downloadnx-libs-47d0ea1ba5bdd53d5df2cd06ffb637c889cf5e03.tar.gz
nx-libs-47d0ea1ba5bdd53d5df2cd06ffb637c889cf5e03.tar.bz2
nx-libs-47d0ea1ba5bdd53d5df2cd06ffb637c889cf5e03.zip
Move big request comment in XOpenDisplay to the right place
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Backported-to-NX-by: Ulrich Sibiller <uli42@gmx.de>
Diffstat (limited to 'nx-X11/lib/X11')
-rw-r--r--nx-X11/lib/X11/OpenDis.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/nx-X11/lib/X11/OpenDis.c b/nx-X11/lib/X11/OpenDis.c
index 4036572a8..dca8ae580 100644
--- a/nx-X11/lib/X11/OpenDis.c
+++ b/nx-X11/lib/X11/OpenDis.c
@@ -713,6 +713,9 @@ fallback_success:
#endif /* !USE_XCB */
#if USE_XCB
+/*
+ * get availability of large requests
+ */
dpy->bigreq_size = xcb_get_maximum_request_length(dpy->xcb->connection);
if(dpy->bigreq_size <= dpy->max_request_size)
dpy->bigreq_size = 0;
@@ -740,7 +743,6 @@ fallback_success:
(void) XSynchronize(dpy, _Xdebug);
/*
- * get availability of large requests, and
* get the resource manager database off the root window.
*/
LockDisplay(dpy);