summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2012-01-06 13:20:45 +1000
committerJeremy Huddleston <jeremyhu@apple.com>2012-01-18 10:55:12 -0800
commita1ed67fa0551ee2b39d002d3b786a2017b37c7ac (patch)
treebc7943ba9f7d478d26f55ae1fa3830db191db2d9 /render
parentf89c39e6c9e20ffc3c1ae228ee601c2ab9007ff4 (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> (cherry picked from commit bbb6b8c834e0e1491ca14403b5d0840dd14380d3)
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))
{