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

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Fri Mar 13 02:38:00 PDT 2015


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

--- Comment #9 from Jonas Ã…dahl <jadahl at gmail.com> ---
Created attachment 299285
  --> https://bugzilla.gnome.org/attachment.cgi?id=299285&action=edit
wayland: Paint proper pointer cursor size on HiDPI monitors

When a poiner is on a HiDPI monitor, scale the pointer sprite according
to the monitor scale. This currently assumes that the system is
configured to specify the theme size in standard DPI (meaning the theme
should assume the output scale is 1).

This works by making MetaCursorSprite more state aware during painting so
that it, given what monitor it is on and the output scale of that
monitor, can scale surface based surfaces accordingly, or recreate
server side cursor images by loading a larger version.

The native cursor renderer is changed to store up to two gbm_bo's per
MetaCursorSprite in order to draw a larger version while showing the
previous one.

-- 
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/20150313/960f9bf4/attachment.html>


More information about the wayland-bugs mailing list