# HG changeset patch # User Richard M. Stallman # Date 834440520 0 # Node ID 0a724b64f88e661fd6706f3ddc7f2e95e0bac9e8 # Parent 72b57d1c8de01fb3cc49919fe877c323d05d8ed0 (check_x): Macro definition deleted. (DisplayWidth): Use `selected_frame'. (DisplayHeight): Use `selected_frame'. (x_mouse_leave): Remove; it's not used. diff -r 72b57d1c8de0 -r 0a724b64f88e src/msdos.h --- a/src/msdos.h Mon Jun 10 21:01:22 1996 +0000 +++ b/src/msdos.h Mon Jun 10 21:02:00 1996 +0000 @@ -94,15 +94,12 @@ #define x_destroy_bitmap(p1,p2) #define load_pixmap(p1,p2,p3,p4) (0) #define XGetGeometry(p1,p2,p3,p4,p5,p6,p7,p8,p9) -#define DisplayWidth(p1,p2) (the_only_frame.width) -#define DisplayHeight(p1,p2) (the_only_frame.height) +#define DisplayWidth(p1,p2) (selected_frame->width) +#define DisplayHeight(p1,p2) (selected_frame->height) #define XMenuSetAEQ (void) #define XMenuSetFreeze (void) #define XMenuRecompute (void) #define FONT_WIDTH(foo) 1 -/* Function `getcbrk' is the most harmless I can think of right now... */ -#define check_x if (FRAME_TERMCAP_P (bar)) error ("Not running under a windows system."); else getcbrk -#define x_mouse_leave getcbrk #define XM_FAILURE -1 #define XM_SUCCESS 1 #define XM_NO_SELECT 2