# HG changeset patch # User Richard M. Stallman # Date 759184909 0 # Node ID 94f317eca45dc628ff5714d689b443fab5127833 # Parent 3929b3fb37ee0da2054bd23283f611e72a514b51 [USE_X_TOOLKIT]: Include StringDefs.h, IntrinsicP.h, CoreP.h, StringDefs.h, Xaw/Box.h. (struct x_display) [USE_X_TOOLKIT]: New fields widget, column_widget, edit_widget, menubar_widget. (x_any_window_to_frame) [USE_X_TOOLKIT]: Declared. diff -r 3929b3fb37ee -r 94f317eca45d src/xterm.h --- a/src/xterm.h Fri Jan 21 18:45:00 1994 +0000 +++ b/src/xterm.h Fri Jan 21 20:41:49 1994 +0000 @@ -28,6 +28,16 @@ #include #endif /* HAVE_X11 */ +#ifdef USE_X_TOOLKIT +#include +#include /* CoreP.h needs this */ +#include /* foul, but we need this to use our own + window inside a widget instead of one + that Xt creates... */ +#include +#include +#endif + /* Define a queue for X-events. One such queue is used for mouse clicks. Another is used for expose events. */ @@ -182,6 +192,10 @@ extern struct frame *x_window_to_frame (); +#ifdef USE_X_TOOLKIT +extern struct frame *x_any_window_to_frame (); +#endif + /* The frame (if any) which has the X window that has keyboard focus. Zero if none. This is examined by Ffocus_frame in xfns.c */ @@ -273,6 +287,18 @@ Usually but not always RootWindow. */ Window parent_desc; +#ifdef USE_X_TOOLKIT + /* The widget of this screen. This is the window of a "shell" widget. */ + Widget widget; + /* The XmPanedWindows... */ + Widget column_widget; + /* The widget of the edit portion of this screen; the window in + "window_desc" is inside of this. */ + Widget edit_widget; + + Widget menubar_widget; +#endif + /* 1 for bitmap icon, 0 for text icon. */ int icon_bitmap_flag;