]> git.eshelyaron.com Git - emacs.git/commit
Implement _NET_WM_PING protocol
authorPo Lu <luangruo@yahoo.com>
Sat, 5 Feb 2022 01:41:01 +0000 (09:41 +0800)
committerPo Lu <luangruo@yahoo.com>
Sat, 5 Feb 2022 01:41:01 +0000 (09:41 +0800)
commit9ff88dfc5b148ac616959569165d947c7c388374
tree38c89c60accfd55bf1e1a263804bd523871c3c67
parent5098f2b844b05e4ebbbbf44c5adbc3d7975e43e6
Implement _NET_WM_PING protocol

* src/xfns.c (append_wm_protocols): New function.
(x_window): Call `append_wm_protocols' after window creation.
* src/xterm.c (handle_one_xevent): Handle _NET_WM_PING client
messages.
(x_term_init): Intern _NET_WM_PING atom.
* src/xterm.h (struct x_display_info): New field
`Xatom_net_wm_ping'.
src/xfns.c
src/xterm.c
src/xterm.h