Skip to content

Commit a1ed67f

Browse files
whotjeremyhu
authored andcommitted
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 <[email protected]> Reviewed-by: Jeremy Huddleston <[email protected]> (cherry picked from commit bbb6b8c)
1 parent f89c39e commit a1ed67f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

render/animcur.c

+3
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,9 @@ AnimCurDisplayCursor (DeviceIntPtr pDev,
208208
AnimCurScreenPtr as = GetAnimCurScreen(pScreen);
209209
Bool ret;
210210

211+
if (IsFloating(pDev))
212+
return FALSE;
213+
211214
Unwrap (as, pScreen, DisplayCursor);
212215
if (IsAnimCur(pCursor))
213216
{

0 commit comments

Comments
 (0)