From bbb6b8c834e0e1491ca14403b5d0840dd14380d3 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 6 Jan 2012 13:20:45 +1000 Subject: render: don't bother with animated cursors on floating slaves (#39989) X.Org Bug 39989 Signed-off-by: Peter Hutterer Reviewed-by: Jeremy Huddleston --- render/animcur.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'render') 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)) { -- cgit v1.2.3