[Wayland-bugs] [Bug 746141] wayland: Support HiDPI pointer cursors
gtk+ (GNOME Bugzilla)
bugzilla at gnome.org
Sun Mar 15 19:24:37 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=746141
Jonas Ådahl <jadahl at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #299290|accepted-commit_now |none
status| |
Attachment #299290|0 |1
is obsolete| |
--- Comment #12 from Jonas Ådahl <jadahl at gmail.com> ---
Created attachment 299481
--> https://bugzilla.gnome.org/attachment.cgi?id=299481&action=edit
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.
--
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/7f9c1504/attachment.html>
More information about the wayland-bugs
mailing list