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

mutter (GNOME Bugzilla) bugzilla at gnome.org
Sun Apr 12 22:05:47 PDT 2015


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

--- Comment #35 from Jonas Ã…dahl <jadahl at gmail.com> ---
Created attachment 301435
  --> https://bugzilla.gnome.org/attachment.cgi?id=301435&action=edit
wayland: Always scale cursor according to 'scaling-factor'

Always scale pointer cursors with the 'scaling-factor' gsetting. For
theme based cursos this means loading a larger version of the theme, and
for wl_buffer based cursors this means taking the buffer scale into
account and potentially scaling the texture accordingly.


---

This patch simply does what the commit message does. I have tested this by
changing the 'scaling-factor' setting on my non-HiDPI hardware, but that is all
the testing I have done so far. Is this simple enough for the 3.16 branch? If
we'd go with something like this, I think it'd be best to push this after
branching.

As I have never seen how things work on HiDPI hardware I'm not sure its the
right way (do theme_size * scaling_factor), so I'd appreciate some insight into
that as well.

Note that GTK+ clients will show blurry cursors (at least for me, by just
changing the 'scaling-factor' on my non-HiDPI hardware) since it doesn't know
what outputs its surfaces are on.

-- 
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/20150413/7aad2016/attachment.html>


More information about the wayland-bugs mailing list