]> git.eshelyaron.com Git - emacs.git/commit
Implement _NET_WM_USER_TIME protocol
authorPo Lu <luangruo@yahoo.com>
Wed, 9 Feb 2022 08:07:59 +0000 (16:07 +0800)
committerPo Lu <luangruo@yahoo.com>
Wed, 9 Feb 2022 08:07:59 +0000 (16:07 +0800)
commit7f9335f91d3e0ecdff9c3adb93aad08454002035
tree051b929e02785d14b841f51e859bb0354f466073
parent5627693ce3f6ff7ef928a902bfab59731a63fbd4
Implement _NET_WM_USER_TIME protocol

* src/xterm.c (x_display_set_last_user_time): Set user time on
the active window.
(handle_one_xevent): Only set user time when the user actually
interacted with Emacs.
(x_make_frame_visible): Set user time if non-zero.
(x_term_init): Intern `_NET_WM_USER_TIME'.
* src/xterm.h (struct x_display_info): New field
`Xatom_net_wm_user_time'.
(x_display_set_last_user_time): Implement in xterm.c instead.
src/xterm.c
src/xterm.h