mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-08 01:20:13 +01:00
mi: don't call UpdateSpriteForScreen if we have Xinerama enabled. #18668
In Xinerama all windows hang off the first root window. Crossing the screens
must not reset the spriteTrace, otherwise picking fails and events are sent to
the root window.
X.Org Bug 18668 <http://bugs.freedesktop.org/show_bug.cgi?id=18668>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 9fe9b6e4ef)
Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
536748aa88
commit
a9dd41de7e
1 changed files with 8 additions and 1 deletions
|
|
@ -332,7 +332,14 @@ miPointerWarpCursor (DeviceIntPtr pDev, ScreenPtr pScreen, int x, int y)
|
|||
pPointer->pScreen = pScreen;
|
||||
}
|
||||
|
||||
if (changedScreen)
|
||||
/* Don't call USFS if we use Xinerama, otherwise the root window is
|
||||
* updated to the second screen, and we never receive any events.
|
||||
* (FDO bug #18668) */
|
||||
if (changedScreen
|
||||
#ifdef PANORAMIX
|
||||
&& noPanoramiXExtension
|
||||
#endif
|
||||
)
|
||||
UpdateSpriteForScreen (pDev, pScreen) ;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue