]> code.delx.au - gnu-emacs/commit
Enable use of XCB for checking window manager state
authorKen Raeburn <raeburn@raeburn.org>
Sat, 7 Nov 2015 08:06:32 +0000 (03:06 -0500)
committerKen Raeburn <raeburn@raeburn.org>
Thu, 12 Nov 2015 08:58:09 +0000 (03:58 -0500)
commita838c8331cf3f360d919a75cc8d92c72e6d900f0
treef84758386b810487a95d08688e92bd4195699d75
parentc7f2b6ad892c93b8b848d21835a4b093c424cae6
Enable use of XCB for checking window manager state

* src/xterm.c (get_current_wm_state) [USE_XCB]: Use XCB calls instead
of XGetWindowProperty plus error-catching, since we can explicitly
check for errors in the XCB version.  This eliminates 3 XSync calls on
top of the round-trip actually fetching the information.
src/xterm.c