How could an application know the desktop scale factor? 🔍

Alberto Salvia Novella es20490446e at
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 
and Mir has 
(, 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 (

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: <>

More information about the xorg mailing list