[Wayland-bugs] [Bug 744932] Wrong (ultra tiny/small) cursor size on HiDPI screen

mutter (GNOME Bugzilla) bugzilla at gnome.org
Thu Aug 27 16:53:36 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=744932

--- Comment #106 from Jonas Ã…dahl <jadahl at gmail.com> ---
(In reply to Owen Taylor from comment #103)
> Review of attachment 309537 [details] [review]:
> 
> Seems like code motion that simplifies.
> 
> ::: src/wayland/meta-wayland-pointer.c
> @@ +863,3 @@
> +  wl_list_insert_list (&surface->compositor->frame_callbacks,
> +                       &pending->frame_callback_list);
> +  wl_list_init (&pending->frame_callback_list);
> 
> But it's really not OK to have code that modifies fields of the surface
> structure scattered all over different files (probably this comment belongs
> earlier in this patchset).

This is not modifying the surface structure but the MetaWaylandPendingState.
This is in a role-commit function, which purpose is to take what is in the
pending state and apply it, so I think it needs to modify it in order to do
that. Could use a helper though.

-- 
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/20150827/c6b9ab94/attachment.html>


More information about the wayland-bugs mailing list