summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2012-01-06 13:20:45 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2012-01-13 09:03:04 +1000
commitbbb6b8c834e0e1491ca14403b5d0840dd14380d3 (patch)
tree8723a8030fc8edd56439995fe86d39c549b8e368 /render
parent35bd77e9d0701daae87d681900d749604fc6471f (diff)
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>
Diffstat (limited to 'render')
-rw-r--r--render/animcur.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/render/animcur.c b/render/animcur.c
index 31cbab9a6..8d4a9c2ef 100644
--- a/render/animcur.c
+++ b/render/animcur.c
@@ -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))
{