<html>
<head>
<base href="https://bugzilla.gnome.org/" />
</head>
<body><span class="vcard"><a href="page.cgi?id=describeuser.html&login=jadahl%40gmail.com" title="Jonas Ådahl <jadahl@gmail.com>"> <span class="fn">Jonas Ådahl</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - wayland: Support HiDPI pointer cursors"
href="https://bugzilla.gnome.org/show_bug.cgi?id=746141">bug 746141</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Attachment #299290 status</td>
<td>accepted-commit_now
</td>
<td>none
</td>
</tr>
<tr>
<td style="text-align:right;">Attachment #299290 is obsolete</td>
<td>
</td>
<td>1
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - wayland: Support HiDPI pointer cursors"
href="https://bugzilla.gnome.org/show_bug.cgi?id=746141#c12">Comment # 12</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - wayland: Support HiDPI pointer cursors"
href="https://bugzilla.gnome.org/show_bug.cgi?id=746141">bug 746141</a>
from <span class="vcard"><a href="page.cgi?id=describeuser.html&login=jadahl%40gmail.com" title="Jonas Ådahl <jadahl@gmail.com>"> <span class="fn">Jonas Ådahl</span></a>
</span></b>
<pre>Created <span class=""><a href="attachment.cgi?id=299481&action=diff" name="attach_299481" title="wayland: Don't set cursor surface scale when we don't have a surface">attachment 299481</a> <a href="attachment.cgi?id=299481&action=edit" title="wayland: Don't set cursor surface scale when we don't have a surface">[details]</a></span> <a href='review?bug=746141&attachment=299481'>[review]</a>
wayland: Don't set cursor surface scale when we don't have a surface
The setting of the the surface scale even when the surface is not
created from a surface was introduced due to a crash when getting the
buffers when dividing by the scale. The only reason I can see this is
that we get the buffer from a non-existing surface when the wl_cursor
has not yet been set.
Instead, use the name field to avoid trying to use the non-existing
surface, effectively avoiding the division-by-zero that way.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>