]> git.eshelyaron.com Git - emacs.git/commit
Rewrite desktop workarea computation to avoid too many calls to XSync
authorPo Lu <luangruo@yahoo.com>
Tue, 29 Mar 2022 10:31:24 +0000 (18:31 +0800)
committerPo Lu <luangruo@yahoo.com>
Tue, 29 Mar 2022 10:33:00 +0000 (18:33 +0800)
commit0e662f33e1a5b1c88fb3e0bf8be906c1937114d3
tree70e62600e0049b14d7e5dba5a3669a0933a2f82f
parent9aecc241e6e78d90f894e4ca196f84a6b4dea71a
Rewrite desktop workarea computation to avoid too many calls to XSync

* src/xfns.c (x_get_net_workarea): Rewrite using XCB without
using long_offset and long_length, since the data transfer is
usually negligible compared to the roundtrip delay.
src/xfns.c