summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDeron Johnson <deron.johnson@sun.com>2005-06-13 23:20:16 +0000
committerDeron Johnson <deron.johnson@sun.com>2005-06-13 23:20:16 +0000
commit2ab1e1fc87956fc6f5a08548203f21de2fd5fcf4 (patch)
treee34fd72e42f46e414395c6feaac650e7d30a3b14
parent1deb3e942c42ae9b85cf58c960bd5b816d3d88b2 (diff)
downloadxorg-lib-libX11-lg3d-dev-0-7-0.tar.gz
Remove LG3D TrCoords hacklg3d-dev-0-7-0
-rw-r--r--src/TrCoords.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/TrCoords.c b/src/TrCoords.c
index 5fbeabb0..5b164a56 100644
--- a/src/TrCoords.c
+++ b/src/TrCoords.c
@@ -28,16 +28,6 @@ in this Software without prior written authorization from The Open Group.
#define NEED_REPLIES
#include "Xlibint.h"
-#define LG3D
-
-#ifdef LG3D
-
-int Xlg3dSkipTranslateCoordinates = 0;
-
-static Bool skip = False;
-static int skipCount = 2;
-#endif /* LG3D */
-
Bool XTranslateCoordinates(dpy, src_win, dest_win, src_x, src_y,
dst_x, dst_y, child)
register Display *dpy;
@@ -49,18 +39,6 @@ Bool XTranslateCoordinates(dpy, src_win, dest_win, src_x, src_y,
register xTranslateCoordsReq *req;
xTranslateCoordsReply rep;
-#ifdef LG3D
- if (Xlg3dSkipTranslateCoordinates) {
- if (--skipCount <= 0) {
- skip = True;
- }
-
- if (skip) {
- return (True);
- }
- }
-#endif /* LG3D */
-
LockDisplay(dpy);
GetReq(TranslateCoords, req);
req->srcWid = src_win;