]> git.eshelyaron.com Git - emacs.git/commit
Use XRandR 1.5 to generate monitor attributes if available
authorPo Lu <luangruo@yahoo.com>
Thu, 30 Dec 2021 02:04:29 +0000 (10:04 +0800)
committerPo Lu <luangruo@yahoo.com>
Thu, 30 Dec 2021 02:08:18 +0000 (10:08 +0800)
commitb88024ad1aa0c2e75b407634038050a653fdb64b
tree539967663482b0140c20503da80ded69dd8d3ce4
parent14f074f95e2b57ddcd4b449fbdc04169290d0647
Use XRandR 1.5 to generate monitor attributes if available

* src/xfns.c (x_get_monitor_attributes_xrandr): Use XRR 1.5 if
present.
(xlw_monitor_dimensions_at_pos_1): Remove redundant XRR 1.5
code.
(xlw_monitor_dimensions_at_pos): Rely on
`x_get_monitor_attributes_xrandr' to retrieve the workarea
instead.
src/xfns.c