diff options
Diffstat (limited to 'src/XGetDCtl.c')
-rw-r--r-- | src/XGetDCtl.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/XGetDCtl.c b/src/XGetDCtl.c index 8d034bf..42f1be6 100644 --- a/src/XGetDCtl.c +++ b/src/XGetDCtl.c @@ -182,6 +182,18 @@ XGetDeviceControl(dpy, dev, control) C->control = DEVICE_CORE; C->length = sizeof(C); C->status = c->status; + C->iscore = c->iscore; + + break; + } + case DEVICE_ENABLE: + { + xDeviceEnableState *e = (xDeviceEnableState *) d; + XDeviceEnableState *E = (XDeviceEnableState *) Device; + + E->control = DEVICE_ENABLE; + E->length = sizeof(E); + E->enable = e->enable; break; } |