How could an application know the desktop scale factor? 🔍

Alberto Salvia Novella es20490446e at gmail.com
Fri May 6 14:54:10 UTC 2016


Is there any way an application could tell the current desktop scaling 
factor independently of the desktop environment in use?

For example Wayland has 
(https://wayland.freedesktop.org/docs/html/apa.html#protocol-spec-wl_output) 
and Mir has 
(https://unity.ubuntu.com/mir/struct_mir_display_output.html), which 
both could be used for telling the physical size of the output device. 
So you can tell how to scale your application interface to have a good size.

This is for solving bug (https://developer.blender.org/T48292).

Thanks in advance.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6472 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://lists.x.org/archives/xorg/attachments/20160506/e78bf92e/attachment.bin>


More information about the xorg mailing list