<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - radeonsi: mouse cursor corruption using weston on AMD Kaveri"
href="https://bugs.freedesktop.org/show_bug.cgi?id=79809#c10">Comment # 10</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - radeonsi: mouse cursor corruption using weston on AMD Kaveri"
href="https://bugs.freedesktop.org/show_bug.cgi?id=79809">bug 79809</a>
from <span class="vcard"><a class="email" href="mailto:michel@daenzer.net" title="Michel Dänzer <michel@daenzer.net>"> <span class="fn">Michel Dänzer</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=79809#c9">comment #9</a>)
<span class="quote">> I've tested on my pc and it works, but is sufficient like that or
> GBM_BO_USE_CURSOR_64X64 should be used only if width and height are 64 (like
> in the previous patch)?</span >
The latter, as GBM will reject cursor dimensions other than 64x64 if it doesn't
define GBM_BO_USE_CURSOR. Something like this:
#ifdef GBM_BO_USE_CURSOR
flags = GBM_BO_USE_CURSOR | GBM_BO_USE_WRITE;
#else
flags = GBM_BO_USE_WRITE;
if (ec->cursor_width == 64 && ec->cursor_height == 64)
flags |= GBM_BO_USE_CURSOR_64X64;
#endif</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>