aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1996-06-10 21:02:00 +0000
committerRichard M. Stallman <[email protected]>1996-06-10 21:02:00 +0000
commit964efc336323e05325bcc913a79cf2854011818b (patch)
tree128f7bcc73e2334718d27e66e8055833f221bda1 /src
parente4e597170949bf7e358712040d3d15f42de1a093 (diff)
(check_x): Macro definition deleted.
(DisplayWidth): Use `selected_frame'. (DisplayHeight): Use `selected_frame'. (x_mouse_leave): Remove; it's not used.
Diffstat (limited to 'src')
-rw-r--r--src/msdos.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/msdos.h b/src/msdos.h
index 2a0506883e..3e3c6ec069 100644
--- a/src/msdos.h
+++ b/src/msdos.h
@@ -94,15 +94,12 @@ extern Display *x_current_display;
#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