blob: d6148834a67686982c089da599458ad34e3089c6 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001Upstream-Status: Pending
2
3There is no extra reply data and if we say not to disgard it, xcb
4throws fatal asserts.
5
6RP - 26/11/09
7
8Index: git/xcalibrate.c
9===================================================================
10--- git.orig/xcalibrate.c 2009-11-26 08:11:48.000000000 +0000
11+++ git/xcalibrate.c 2009-11-26 08:09:55.000000000 +0000
12@@ -216,7 +216,7 @@
13 req->reqType = info->codes->major_opcode;
14 req->xCalibrateReqType = X_XCalibrateRawMode;
15 req->on = enable;
16- if (!_XReply (dpy, (xReply *) &rep, 0, xFalse))
17+ if (!_XReply (dpy, (xReply *) &rep, 0, xTrue))
18 {
19 UnlockDisplay (dpy);
20 SyncHandle ();
21@@ -240,7 +240,7 @@
22 req->xCalibrateReqType = X_XCalibrateScreenToCoord;
23 req->x = *x;
24 req->y = *y;
25- if (!_XReply (dpy, (xReply *) &rep, 0, xFalse))
26+ if (!_XReply (dpy, (xReply *) &rep, 0, xTrue))
27 {
28 UnlockDisplay (dpy);
29 SyncHandle ();