summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2011-11-28 16:37:59 +0000
committerJeremy Huddleston <jeremyhu@apple.com>2011-12-09 12:35:59 -0800
commite76c397eb90291b048e0b2102111008e3d2e469e (patch)
tree95c17d0fdd5a24b406015756cdb052e8894d6426
parentdb418ff7501d960c8de813a37b8bb37b1ba22175 (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 c14dd8241..500a3d85b 100644
--- a/hw/kdrive/src/kinput.c
+++ b/hw/kdrive/src/kinput.c
@@ -2135,12 +2135,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 */