summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJamey Sharp <jamey@minilop.net>2011-05-12 15:21:52 -0700
committerAdam Jackson <ajax@redhat.com>2015-10-06 10:43:05 -0400
commitd08ac3660651c8614a1780750b76c48eeb0870b7 (patch)
tree61a7b99732e9d7884979747a02505771376d73d3
parente31fe8115ee080b58b2e96a5106f38e64944ce5e (diff)
kdrive: Delete unused TOUCHSCREEN define.
There's nothing in configure to enable this, and KdTsPhyScreen isn't defined anywhere. [ajax: Rebase, also clean up Xfbdev] Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Jamey Sharp <jamey@minilop.net>
-rw-r--r--hw/kdrive/ephyr/ephyr.c1
-rw-r--r--hw/kdrive/fake/fake.c6
-rw-r--r--hw/kdrive/fbdev/fbdev.c6
-rw-r--r--include/dix-config.h.in3
-rw-r--r--include/kdrive-config.h.in3
-rw-r--r--include/xorg-server.h.in3
6 files changed, 0 insertions, 22 deletions
diff --git a/hw/kdrive/ephyr/ephyr.c b/hw/kdrive/ephyr/ephyr.c
index 1909a06e9..cb1c16e4e 100644
--- a/hw/kdrive/ephyr/ephyr.c
+++ b/hw/kdrive/ephyr/ephyr.c
@@ -50,7 +50,6 @@
#include "xkbsrv.h"
-extern int KdTsPhyScreen;
extern Bool ephyr_glamor;
KdKeyboardInfo *ephyrKbd;
diff --git a/hw/kdrive/fake/fake.c b/hw/kdrive/fake/fake.c
index 04a727897..7205df401 100644
--- a/hw/kdrive/fake/fake.c
+++ b/hw/kdrive/fake/fake.c
@@ -25,8 +25,6 @@
#endif
#include "fake.h"
-extern int KdTsPhyScreen;
-
Bool
fakeInitialize(KdCardInfo * card, FakePriv * priv)
{
@@ -364,10 +362,6 @@ fakeCreateColormap(ColormapPtr pmap)
Bool
fakeInitScreen(ScreenPtr pScreen)
{
-#ifdef TOUCHSCREEN
- KdTsPhyScreen = pScreen->myNum;
-#endif
-
pScreen->CreateColormap = fakeCreateColormap;
return TRUE;
}
diff --git a/hw/kdrive/fbdev/fbdev.c b/hw/kdrive/fbdev/fbdev.c
index 23f750924..9b69edf95 100644
--- a/hw/kdrive/fbdev/fbdev.c
+++ b/hw/kdrive/fbdev/fbdev.c
@@ -28,8 +28,6 @@
#include <errno.h>
-extern int KdTsPhyScreen;
-
const char *fbdevDevicePath = NULL;
static Bool
@@ -698,10 +696,6 @@ fbdevCreateColormap(ColormapPtr pmap)
Bool
fbdevInitScreen(ScreenPtr pScreen)
{
-#ifdef TOUCHSCREEN
- KdTsPhyScreen = pScreen->myNum;
-#endif
-
pScreen->CreateColormap = fbdevCreateColormap;
return TRUE;
}
diff --git a/include/dix-config.h.in b/include/dix-config.h.in
index daaff8d5a..112ab952f 100644
--- a/include/dix-config.h.in
+++ b/include/dix-config.h.in
@@ -307,9 +307,6 @@
/* Support TCP socket connections */
#undef TCPCONN
-/* Enable touchscreen support */
-#undef TOUCHSCREEN
-
/* Support tslib touchscreen abstraction library */
#undef TSLIB
diff --git a/include/kdrive-config.h.in b/include/kdrive-config.h.in
index 0e54aa18f..3d7e9a4a7 100644
--- a/include/kdrive-config.h.in
+++ b/include/kdrive-config.h.in
@@ -13,9 +13,6 @@
/* Include framebuffer support in X servers */
#undef KDRIVEFBDEV
-/* Enable touchscreen support */
-#undef TOUCHSCREEN
-
/* Support tslib touchscreen abstraction library */
#undef TSLIB
diff --git a/include/xorg-server.h.in b/include/xorg-server.h.in
index 3152dbd68..e46ccecf7 100644
--- a/include/xorg-server.h.in
+++ b/include/xorg-server.h.in
@@ -101,9 +101,6 @@
/* Support TCP socket connections */
#undef TCPCONN
-/* Enable touchscreen support */
-#undef TOUCHSCREEN
-
/* Support tslib touchscreen abstraction library */
#undef TSLIB