X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/e0e0af3bd5e06526bf69ec1f0f9958371eef59d7..4618713ae48aac51c6f1a2474cc981f32c2bbede:/src/xterm.h diff --git a/src/xterm.h b/src/xterm.h index f67b79c306..eff7540347 100644 --- a/src/xterm.h +++ b/src/xterm.h @@ -84,11 +84,6 @@ typedef GtkWidget *xt_or_gtk_widget; #define WHITE_PIX_DEFAULT(f) \ WhitePixel (FRAME_X_DISPLAY (f), FRAME_X_SCREEN_NUMBER (f)) -#define FONT_WIDTH(f) ((f)->max_width) -#define FONT_HEIGHT(f) ((f)->ascent + (f)->descent) -#define FONT_BASE(f) ((f)->ascent) -#define FONT_DESCENT(f) ((f)->descent) - /* The mask of events that text windows always want to receive. This includes mouse movement events, since handling the mouse-font text property means that we must track mouse motion all the time. */ @@ -950,7 +945,7 @@ extern void x_clear_area (Display *, Window, int, int, int, int); extern void x_mouse_leave (struct x_display_info *); #endif -#ifdef USE_X_TOOLKIT +#if defined USE_X_TOOLKIT || defined USE_MOTIF extern int x_dispatch_event (XEvent *, Display *); #endif extern int x_x_to_emacs_modifiers (struct x_display_info *, int);