XQuartz: Don't warp the pointer on server start for XQuartz
(cherry picked from commit c0da576d4921c246a9ac747921b48ab9e718347f)
This commit is contained in:
parent
7a46dd30d3
commit
183233b27b
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue