Commit d178b014 authored by Deron Johnson's avatar Deron Johnson

Part of the fix for 193. (lg3d-x11 0-6-1-18).

parent dfad4db5
......@@ -31,6 +31,9 @@ in this Software without prior written authorization from The Open Group.
#define LG3D
#ifdef LG3D
int Xlg3dSkipTranslateCoordinates = 0;
static Bool skip = False;
static int skipCount = 2;
#endif /* LG3D */
......@@ -47,12 +50,14 @@ Bool XTranslateCoordinates(dpy, src_win, dest_win, src_x, src_y,
xTranslateCoordsReply rep;
#ifdef LG3D
if (--skipCount <= 0) {
skip = True;
}
if (Xlg3dSkipTranslateCoordinates) {
if (--skipCount <= 0) {
skip = True;
}
if (skip) {
return (True);
if (skip) {
return (True);
}
}
#endif /* LG3D */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment