mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-01 17:40:11 +01:00
render: don't bother with animated cursors on floating slaves (#39989)
X.Org Bug 39989 <http://bugs.freedesktop.org/show_bug.cgi?id=39989>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
(cherry picked from commit bbb6b8c834)
This commit is contained in:
parent
f89c39e6c9
commit
a1ed67fa05
1 changed files with 3 additions and 0 deletions
|
|
@ -208,6 +208,9 @@ AnimCurDisplayCursor (DeviceIntPtr pDev,
|
|||
AnimCurScreenPtr as = GetAnimCurScreen(pScreen);
|
||||
Bool ret;
|
||||
|
||||
if (IsFloating(pDev))
|
||||
return FALSE;
|
||||
|
||||
Unwrap (as, pScreen, DisplayCursor);
|
||||
if (IsAnimCur(pCursor))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue