<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Spinning wheel cursor splits into two parts when starting laptop docked / using rotated external screen"
href="https://bugs.freedesktop.org/show_bug.cgi?id=99704#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Spinning wheel cursor splits into two parts when starting laptop docked / using rotated external screen"
href="https://bugs.freedesktop.org/show_bug.cgi?id=99704">bug 99704</a>
from <span class="vcard"><a class="email" href="mailto:chris@chris-wilson.co.uk" title="Chris Wilson <chris@chris-wilson.co.uk>"> <span class="fn">Chris Wilson</span></a>
</span></b>
<pre>Hmm, frequently updating cursor jumps. Can you try something like
diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c
index 573869e..7da8d9a 100644
--- a/src/sna/sna_display.c
+++ b/src/sna/sna_display.c
@@ -6012,6 +6012,7 @@ static struct sna_cursor *__sna_get_cursor(struct sna
*sna, xf86CrtcPtr crtc)
height < cursor->last_height ||
rotation != cursor->rotation)
memset(image, 0, 4*size*size);
+ memset(image, 0xff, 4*size*size);
if (rotation == RR_Rotate_0) {
if (argb == NULL) {
for (y = 0; y < height; y++) {
which should show us the extents of the cursor, and then whether it is the
image or the entire cursor that is jumping.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>