]> git.eshelyaron.com Git - emacs.git/commit
Speed up querying for window manager support
authorPo Lu <luangruo@yahoo.com>
Sat, 9 Jul 2022 00:05:30 +0000 (08:05 +0800)
committerPo Lu <luangruo@yahoo.com>
Sat, 9 Jul 2022 00:05:30 +0000 (08:05 +0800)
commitee5814178503c327f703e03f372f792fa1689632
treeddc66cd6896d1a2c1c4c651139b7d26abaa02a0c
parent0508d7c4d6637d63a823b66e9f87ab54c2e73b09
Speed up querying for window manager support

* src/xterm.c (handle_one_xevent): Clear net_supported_window if
it is destroyed.
(x_get_wm_check_window): New function.
(x_wm_supports_1): First try net_supported_window.  If it still
exists, don't ask for _NET_SUPPORTING_WM_CHECK.
src/xterm.c