]> code.delx.au - gnu-emacs/commit
Cleanup XEditRes hack
authorDmitry Antipov <dmantipov@yandex.ru>
Mon, 4 Jul 2016 17:05:06 +0000 (20:05 +0300)
committerDmitry Antipov <dmantipov@yandex.ru>
Mon, 4 Jul 2016 17:05:06 +0000 (20:05 +0300)
commite3ae3c44882085bf52f6bb8b02e98eb7d0b1f81b
tree46db3a2184d01c10f1d48984d813e847af353814
parentf24fe30cb8118f8e15688eaf61a6fefde87f597e
Cleanup XEditRes hack

* configure.ac [USE_X_TOOLKIT]: Define X_TOOLKIT_EDITRES if
_XEditResCheckMessages is declared in X11/Xmu/Editres.h and may be
linked with -lXmu.  This should work with any non-ancient Xmu library.
* xfns.c (toplevel): Remove old cruft.
(x_window) [USE_X_TOOLKIT]: Use X_TOOLKIT_EDITRES.
* xterm.c (toplevel): Remove old cruft.
(handle_one_xevent): Use X_TOOLKIT_EDITRES.
* xterm.h (toplevel): Include X11/Xmu/Editres.h if X_TOOLKIT_EDITRES.
configure.ac
src/xfns.c
src/xterm.c
src/xterm.h