]> git.eshelyaron.com Git - emacs.git/commit
Convert Free_Pixmap macro into terminal hook
authorAlexander Gramiak <agrambot@gmail.com>
Thu, 9 May 2019 15:37:50 +0000 (09:37 -0600)
committerAlexander Gramiak <agrambot@gmail.com>
Fri, 10 May 2019 23:26:12 +0000 (17:26 -0600)
commit616ce44ac53f08bf447cbc032f4bb10cd65c0b70
tree99e0fca55271fabf5e81819f95c19e484a5fa90b
parent6bfc5fc6c4dfbed4b07528b64414fb04675cdf79
Convert Free_Pixmap macro into terminal hook

* src/termhooks.h (terminal) [HAVE_WINDOW_SYSTEM]: New terminal hook
free_pixmap.

* src/image.c: Replace Free_Pixmap with free_pixmap.

* src/msdos.h (FRAME_X_DISPLAY):
* src/nsgui.h (Display):
* src/nsterm.h (FRAME_NS_DISPLAY, FRAME_X_DISPLAY, FRAME_X_SCREEN)
(FRAME_X_VISUAL):
* src/w32term.h (FRAME_X_DISPLAY): Remove unused X-compatibility
macros and typedefs.

* src/nsterm.m:
* src/w32term.c:
* src/xterm.c: Implement and set free_pixmap hook.
src/image.c
src/msdos.h
src/nsgui.h
src/nsterm.h
src/nsterm.m
src/termhooks.h
src/w32term.c
src/w32term.h
src/xterm.c