[Wayland-bugs] [Bug 744932] Wrong (ultra tiny/small) cursor size on HiDPI screen
mutter (GNOME Bugzilla)
bugzilla at gnome.org
Tue Apr 7 03:26:18 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=744932
Jonas Ådahl <jadahl at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #299285|0 |1
is obsolete| |
--- Comment #18 from Jonas Ådahl <jadahl at gmail.com> ---
Created attachment 301060
--> https://bugzilla.gnome.org/attachment.cgi?id=301060&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.
-------
This new version removes the surface_destory_listener in the
MetaCursorSpriteWayland object. It was not needed as it will
always be destoryed before the surface is, since we always update
the cursor before the surface is destroyed.
--
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/20150407/669a7bfe/attachment.html>
More information about the wayland-bugs
mailing list