[Wayland-bugs] [Bug 746141] wayland: Support HiDPI pointer cursors
gtk+ (GNOME Bugzilla)
bugzilla at gnome.org
Sun Mar 15 19:27:30 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=746141
--- Comment #15 from Jonas Ådahl <jadahl at gmail.com> ---
(In reply to Jonas Ådahl from comment #12)
> Created attachment 299481 [details] [review]
> 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.
The original version had missing fallback NULL return. The new version fixes
that.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20150316/1e8f58c3/attachment.html>
More information about the wayland-bugs
mailing list