Use more xrandr attributes when available and preserve [desktop|device]ScaleFactor
authorDavid Fort <contact@hardening-consulting.com>
Sat, 23 Dec 2017 09:27:38 +0000 (10:27 +0100)
committerDavid Fort <contact@hardening-consulting.com>
Sat, 23 Dec 2017 12:46:42 +0000 (13:46 +0100)
commit58b5573c82be8d2e16424c438ebe40b4c53a57ef
tree45e2e258a840b3d45cf8bed3d352610c220b95eb
parent158840429d214a785514448b0a5b458842fd4780
Use more xrandr attributes when available and preserve [desktop|device]ScaleFactor

Fix a too restrictive detection of XRandr support.
Set more monitor's attributes like physical size and orientation when XRandr is
available.
Set [desktop|device]ScaleFactor when it has been given on the command line, this
should fix #4324.
client/X11/xf_disp.c
client/X11/xf_monitor.c