summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}