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>
This commit is contained in:
parent
35bd77e9d0
commit
bbb6b8c834
|
@ -208,6 +208,9 @@ AnimCurDisplayCursor (DeviceIntPtr pDev,
|
||||||
AnimCurScreenPtr as = GetAnimCurScreen(pScreen);
|
AnimCurScreenPtr as = GetAnimCurScreen(pScreen);
|
||||||
Bool ret;
|
Bool ret;
|
||||||
|
|
||||||
|
if (IsFloating(pDev))
|
||||||
|
return FALSE;
|
||||||
|
|
||||||
Unwrap (as, pScreen, DisplayCursor);
|
Unwrap (as, pScreen, DisplayCursor);
|
||||||
if (IsAnimCur(pCursor))
|
if (IsAnimCur(pCursor))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue