aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32term.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/w32term.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/w32term.h')
-rw-r--r--src/w32term.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/w32term.h b/src/w32term.h
index de372d7e5d7..a03b9fd3311 100644
--- a/src/w32term.h
+++ b/src/w32term.h
@@ -420,9 +420,6 @@ extern struct w32_output w32term_display;
420/* This gives the w32_display_info structure for the display F is on. */ 420/* This gives the w32_display_info structure for the display F is on. */
421#define FRAME_DISPLAY_INFO(f) ((void) (f), (&one_w32_display_info)) 421#define FRAME_DISPLAY_INFO(f) ((void) (f), (&one_w32_display_info))
422 422
423/* This is the `Display *' which frame F is on. */
424#define FRAME_X_DISPLAY(f) (0)
425
426#define FRAME_NORMAL_PLACEMENT(F) ((F)->output_data.w32->normal_placement) 423#define FRAME_NORMAL_PLACEMENT(F) ((F)->output_data.w32->normal_placement)
427#define FRAME_PREV_FSMODE(F) ((F)->output_data.w32->prev_fsmode) 424#define FRAME_PREV_FSMODE(F) ((F)->output_data.w32->prev_fsmode)
428 425