diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/msdos.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/msdos.h b/src/msdos.h index fa21d24650b..40d01a8bba6 100644 --- a/src/msdos.h +++ b/src/msdos.h | |||
| @@ -90,9 +90,6 @@ typedef struct display_info Display_Info; | |||
| 90 | /* This is a cut-down version of the one in xterm.h, which see. */ | 90 | /* This is a cut-down version of the one in xterm.h, which see. */ |
| 91 | struct x_output | 91 | struct x_output |
| 92 | { | 92 | { |
| 93 | int left_pos; /* used in xmenu_show (xmenu.c) */ | ||
| 94 | int top_pos; /* ditto */ | ||
| 95 | int line_height; /* used in x-popup-menu (xmenu.c) */ | ||
| 96 | PIX_TYPE background_pixel; /* used in xfaces.c and lots of other places */ | 93 | PIX_TYPE background_pixel; /* used in xfaces.c and lots of other places */ |
| 97 | PIX_TYPE foreground_pixel; /* ditto */ | 94 | PIX_TYPE foreground_pixel; /* ditto */ |
| 98 | XFontStruct *font; /* used in x-popup-menu (xmenu.c) */ | 95 | XFontStruct *font; /* used in x-popup-menu (xmenu.c) */ |
| @@ -108,9 +105,6 @@ extern struct x_output the_only_x_display; | |||
| 108 | #define FRAME_BACKGROUND_PIXEL(f) (the_only_x_display.background_pixel) | 105 | #define FRAME_BACKGROUND_PIXEL(f) (the_only_x_display.background_pixel) |
| 109 | #define FRAME_FONT(f) (the_only_x_display.font) | 106 | #define FRAME_FONT(f) (the_only_x_display.font) |
| 110 | #define FRAME_X_DISPLAY_INFO(f) (&the_only_x_display.display_info) | 107 | #define FRAME_X_DISPLAY_INFO(f) (&the_only_x_display.display_info) |
| 111 | #define FRAME_LINE_HEIGHT(f) (the_only_x_display.line_height) | ||
| 112 | |||
| 113 | #define FRAME_INTERNAL_BORDER_WIDTH(f) (0) | ||
| 114 | 108 | ||
| 115 | /* Prototypes. */ | 109 | /* Prototypes. */ |
| 116 | 110 | ||
| @@ -129,8 +123,8 @@ extern int x_pixel_height P_ ((struct frame *)); | |||
| 129 | #define x_destroy_bitmap(p1,p2) | 123 | #define x_destroy_bitmap(p1,p2) |
| 130 | #define load_pixmap(p1,p2,p3,p4) (0) | 124 | #define load_pixmap(p1,p2,p3,p4) (0) |
| 131 | #define XGetGeometry(p1,p2,p3,p4,p5,p6,p7,p8,p9) | 125 | #define XGetGeometry(p1,p2,p3,p4,p5,p6,p7,p8,p9) |
| 132 | #define DisplayWidth(p1,p2) (SELECTED_FRAME()->width) | 126 | #define DisplayWidth(p1,p2) (SELECTED_FRAME()->text_cols) |
| 133 | #define DisplayHeight(p1,p2) (SELECTED_FRAME()->height) | 127 | #define DisplayHeight(p1,p2) (SELECTED_FRAME()->text_lines) |
| 134 | #define XMenuSetAEQ (void) | 128 | #define XMenuSetAEQ (void) |
| 135 | #define XMenuSetFreeze (void) | 129 | #define XMenuSetFreeze (void) |
| 136 | #define XMenuRecompute (void) | 130 | #define XMenuRecompute (void) |