summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2006-10-21 12:08:21 +0300
committerDaniel Stone <daniels@endtroducing.fooishbar.org>2006-10-21 12:08:21 +0300
commiteeebae55766bd4c0121479a7b7188d6a0545f66c (patch)
tree2e2b4be58e30483a71cf2d7569c3ea87b58919d3
parent50c88082ba2ee4785f4beaa351f2b772f1a381ad (diff)
re-enable iscore in DEVICE_CORE, re-enable DEVICE_ENABLElibXi-1.1.0
-rw-r--r--src/XChgDCtl.c2
-rw-r--r--src/XGetDCtl.c4
2 files changed, 0 insertions, 6 deletions
diff --git a/src/XChgDCtl.c b/src/XChgDCtl.c
index e70db73..f7a537a 100644
--- a/src/XChgDCtl.c
+++ b/src/XChgDCtl.c
@@ -182,7 +182,6 @@ XChangeDeviceControl(dpy, dev, control, d)
return rep.status;
}
}
-#if 0
case DEVICE_ENABLE:
{
XDeviceEnableControl *E = (XDeviceEnableControl *) d;
@@ -204,7 +203,6 @@ XChangeDeviceControl(dpy, dev, control, d)
return rep.status;
}
}
-#endif
default:
{
xDeviceCtl u;
diff --git a/src/XGetDCtl.c b/src/XGetDCtl.c
index 3fa709f..2e06b65 100644
--- a/src/XGetDCtl.c
+++ b/src/XGetDCtl.c
@@ -206,13 +206,10 @@ XGetDeviceControl(dpy, dev, control)
C->control = DEVICE_CORE;
C->length = sizeof(C);
C->status = c->status;
-#if 0
C->iscore = c->iscore;
-#endif
break;
}
-#if 0
case DEVICE_ENABLE:
{
xDeviceEnableState *e = (xDeviceEnableState *) d;
@@ -224,7 +221,6 @@ XGetDeviceControl(dpy, dev, control)
break;
}
-#endif
default:
break;
}