aboutsummaryrefslogtreecommitdiffstats
path: root/src/msdos.h
diff options
context:
space:
mode:
authorAlexander Gramiak2019-05-09 09:37:50 -0600
committerAlexander Gramiak2019-05-10 17:26:12 -0600
commit616ce44ac53f08bf447cbc032f4bb10cd65c0b70 (patch)
tree99e0fca55271fabf5e81819f95c19e484a5fa90b /src/msdos.h
parent6bfc5fc6c4dfbed4b07528b64414fb04675cdf79 (diff)
downloademacs-616ce44ac53f08bf447cbc032f4bb10cd65c0b70.tar.gz
emacs-616ce44ac53f08bf447cbc032f4bb10cd65c0b70.zip
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.
Diffstat (limited to 'src/msdos.h')
-rw-r--r--src/msdos.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/msdos.h b/src/msdos.h
index 0d15df7a331..90ceea8e3d2 100644
--- a/src/msdos.h
+++ b/src/msdos.h
@@ -95,7 +95,6 @@ typedef struct tty_display_info Display_Info;
95extern struct tty_display_info the_only_display_info; 95extern struct tty_display_info the_only_display_info;
96extern struct tty_output the_only_tty_output; 96extern struct tty_output the_only_tty_output;
97 97
98#define FRAME_X_DISPLAY(f) ((Display *) 0)
99#define FRAME_FONT(f) ((f)->output_data.tty->font) 98#define FRAME_FONT(f) ((f)->output_data.tty->font)
100#define FRAME_DISPLAY_INFO(f) (&the_only_display_info) 99#define FRAME_DISPLAY_INFO(f) (&the_only_display_info)
101 100