summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2011-11-28 16:37:59 (GMT)
committerJeremy Huddleston <jeremyhu@apple.com>2012-01-18 19:27:37 (GMT)
commit791d8ce5d8ab8c655f1d0cdb2ff631d8dea84ed1 (patch)
treecdbc8da0755ee07d6ec86276c13e92e7ac9b82b8
parent703885a2f4f4f8e53d89d9887cceb948e27dde7d (diff)
kdrive: drop screen crossing code.
The only kdrive server we probably care about anymore is Xephyr, and this screen enable/disable code totally breaks it in multi-screen mode. When you are in one screen the other stops updating. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=757457 Signed-off-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> (cherry picked from commit 98c4a888a4428789386c7c47cecc81933b5999ba)
-rw-r--r--hw/kdrive/src/kinput.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/hw/kdrive/src/kinput.c b/hw/kdrive/src/kinput.c
index 608f3a7..ac7ca78 100644
--- a/hw/kdrive/src/kinput.c
+++ b/hw/kdrive/src/kinput.c
@@ -2143,12 +2143,6 @@ KdCursorOffScreen(ScreenPtr *ppScreen, int *x, int *y)
static void
KdCrossScreen(ScreenPtr pScreen, Bool entering)
{
-#ifndef XIPAQ
- if (entering)
- KdEnableScreen (pScreen);
- else
- KdDisableScreen (pScreen);
-#endif
}
int KdCurScreen; /* current event screen */