summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@freedesktop.org>2008-09-12 15:25:44 -0700
committerJeremy Huddleston <jeremyhu@freedesktop.org>2008-09-12 15:25:44 -0700
commit183233b27beb441742a53e440c3389b4ea125b8a (patch)
tree61de0625b1700b8f797c649694caa3edf97fbc68
parent7a46dd30d332bc1d42f82b0391e806d3b067ebbd (diff)
XQuartz: Don't warp the pointer on server start for XQuartz
(cherry picked from commit c0da576d4921c246a9ac747921b48ab9e718347f)
-rw-r--r--hw/xquartz/xpr/xprCursor.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/hw/xquartz/xpr/xprCursor.c b/hw/xquartz/xpr/xprCursor.c
index c1890a2e4..9c131fbf8 100644
--- a/hw/xquartz/xpr/xprCursor.c
+++ b/hw/xquartz/xpr/xprCursor.c
@@ -294,16 +294,6 @@ QuartzCrossScreen(ScreenPtr pScreen, Bool entering)
static void
QuartzWarpCursor(ScreenPtr pScreen, int x, int y)
{
- static Bool neverMoved = TRUE;
-
- if (neverMoved)
- {
- /* Don't move the cursor the first time. This is the
- jump-to-center initialization, and it's annoying. */
- neverMoved = FALSE;
- return;
- }
-
if (quartzServerVisible)
{
int sx, sy;