Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | Upstream-Status: Pending |
| 2 | |
| 3 | There is no extra reply data and if we say not to disgard it, xcb |
| 4 | throws fatal asserts. |
| 5 | |
| 6 | RP - 26/11/09 |
| 7 | |
| 8 | Index: 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 (); |