]> git.eshelyaron.com Git - emacs.git/commit
Clean up some uses of XInternAtom
authorPo Lu <luangruo@yahoo.com>
Mon, 28 Mar 2022 00:59:50 +0000 (08:59 +0800)
committerPo Lu <luangruo@yahoo.com>
Mon, 28 Mar 2022 00:59:50 +0000 (08:59 +0800)
commitf5adb2584a9e25e3bbf01d1ca1c7fc6e511a4012
treeb2fff5c7ecf62e8374b97d3a67e1154d410ae5bd
parent45a1bb0efbdd827e91cf80d0c93f60c311e85255
Clean up some uses of XInternAtom

* src/xfns.c (x_set_undecorated, x_set_no_focus_on_map, x_window)
(set_machine_and_pid_properties): Move calls to XInternAtom for
static string to use previously interned atoms.
(Fx_change_window_property): Use XCB if available to avoid extra
call to XSync.
* src/xterm.c (x_term_init):
* src/xterm.h (struct x_display_info): New atoms _MOTIF_WM_HINTS
and _NET_WM_PID.
src/xfns.c
src/xterm.c
src/xterm.h