]> git.eshelyaron.com Git - emacs.git/commit
Avoid calling XGetAtomName in a loop when fetching monitor attributes
authorPo Lu <luangruo@yahoo.com>
Wed, 30 Mar 2022 01:17:58 +0000 (09:17 +0800)
committerPo Lu <luangruo@yahoo.com>
Wed, 30 Mar 2022 01:17:58 +0000 (09:17 +0800)
commitc4a1e8bd7a3c6582c036df98248ac3d37ad55835
treefefb8161763911d57be4ac07d24991496ff348b9
parentc52b58d2903e3ff212dc1b9e9316ee26fae5aa66
Avoid calling XGetAtomName in a loop when fetching monitor attributes

* src/xfns.c (x_get_monitor_attributes_xrandr): Avoid syncing on
each monitor when waiting for XGetAtomName when built with XCB.
src/xfns.c