aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xterm.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/xterm.h b/src/xterm.h
index ea859116a01..7c7acbf16fe 100644
--- a/src/xterm.h
+++ b/src/xterm.h
@@ -28,6 +28,16 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
28#include <X/Xlib.h> 28#include <X/Xlib.h>
29#endif /* HAVE_X11 */ 29#endif /* HAVE_X11 */
30 30
31#ifdef USE_X_TOOLKIT
32#include <X11/StringDefs.h>
33#include <X11/IntrinsicP.h> /* CoreP.h needs this */
34#include <X11/CoreP.h> /* foul, but we need this to use our own
35 window inside a widget instead of one
36 that Xt creates... */
37#include <X11/StringDefs.h>
38#include <X11/Xaw/Box.h>
39#endif
40
31/* Define a queue for X-events. One such queue is used for mouse clicks. 41/* Define a queue for X-events. One such queue is used for mouse clicks.
32 Another is used for expose events. */ 42 Another is used for expose events. */
33 43
@@ -182,6 +192,10 @@ extern Display *x_current_display;
182 192
183extern struct frame *x_window_to_frame (); 193extern struct frame *x_window_to_frame ();
184 194
195#ifdef USE_X_TOOLKIT
196extern struct frame *x_any_window_to_frame ();
197#endif
198
185/* The frame (if any) which has the X window that has keyboard focus. 199/* The frame (if any) which has the X window that has keyboard focus.
186 Zero if none. This is examined by Ffocus_frame in xfns.c */ 200 Zero if none. This is examined by Ffocus_frame in xfns.c */
187 201
@@ -273,6 +287,18 @@ struct x_display
273 Usually but not always RootWindow. */ 287 Usually but not always RootWindow. */
274 Window parent_desc; 288 Window parent_desc;
275 289
290#ifdef USE_X_TOOLKIT
291 /* The widget of this screen. This is the window of a "shell" widget. */
292 Widget widget;
293 /* The XmPanedWindows... */
294 Widget column_widget;
295 /* The widget of the edit portion of this screen; the window in
296 "window_desc" is inside of this. */
297 Widget edit_widget;
298
299 Widget menubar_widget;
300#endif
301
276 /* 1 for bitmap icon, 0 for text icon. */ 302 /* 1 for bitmap icon, 0 for text icon. */
277 int icon_bitmap_flag; 303 int icon_bitmap_flag;
278 304