summaryrefslogtreecommitdiff
path: root/dix/window.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2007-12-04 16:51:52 +1030
committerPeter Hutterer <peter@cs.unisa.edu.au>2007-12-04 16:51:52 +1030
commit09c0c1a3cc4807813774a3c0e28a7ba9a87bb5c7 (patch)
treea549baeee062078f796b204893ecb663b5ae6d06 /dix/window.c
parent28b93d74a11a1064d68a214fcaa7b0aede864a38 (diff)
dix: remove #ifdef XINPUT.
No escaping XINPUT anymore.
Diffstat (limited to 'dix/window.c')
-rw-r--r--dix/window.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/dix/window.c b/dix/window.c
index 51891a88e..76e5dec05 100644
--- a/dix/window.c
+++ b/dix/window.c
@@ -452,7 +452,6 @@ CreateRootWindow(ScreenPtr pScreen)
pWin->optional->clipShape = NULL;
pWin->optional->inputShape = NULL;
#endif
-#ifdef XINPUT
pWin->optional->inputMasks = NULL;
pWin->optional->deviceCursors = NULL;
pWin->optional->geMasks = (GenericClientMasksPtr)xcalloc(1, sizeof(GenericClientMasksRec));
@@ -461,7 +460,6 @@ CreateRootWindow(ScreenPtr pScreen)
xfree(pWin->optional);
return FALSE;
}
-#endif
pWin->optional->access.perm = NULL;
pWin->optional->access.deny = NULL;
@@ -3690,10 +3688,8 @@ CheckWindowOptionalNeed (WindowPtr w)
if (optional->inputShape != NULL)
return;
#endif
-#ifdef XINPUT
if (optional->inputMasks != NULL)
return;
-#endif
if (optional->deviceCursors != NULL)
{
DevCursNodePtr pNode = optional->deviceCursors;
@@ -3753,9 +3749,7 @@ MakeWindowOptional (WindowPtr pWin)
optional->clipShape = NULL;
optional->inputShape = NULL;
#endif
-#ifdef XINPUT
optional->inputMasks = NULL;
-#endif
optional->deviceCursors = NULL;
optional->geMasks =