aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Djärv2009-09-04 04:47:36 +0000
committerJan Djärv2009-09-04 04:47:36 +0000
commit0a5e331a0e9e5c0a6ae1d84e87d615a86bfe86a7 (patch)
treed012cecf0445baa0ab4667f5c82f23e823fd54f6
parent04f4b72d09798c0a14b2ba0fb17f53ffd5e1d3b3 (diff)
downloademacs-0a5e331a0e9e5c0a6ae1d84e87d615a86bfe86a7.tar.gz
emacs-0a5e331a0e9e5c0a6ae1d84e87d615a86bfe86a7.zip
Must define x_*_window_to_frame for non-toolkit.
-rw-r--r--src/xterm.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/xterm.h b/src/xterm.h
index 1019bbc8a7e..a3d5f717193 100644
--- a/src/xterm.h
+++ b/src/xterm.h
@@ -380,6 +380,11 @@ extern struct frame *x_any_window_to_frame P_ ((struct x_display_info *, int));
380extern struct frame *x_menubar_window_to_frame P_ ((struct x_display_info *, int)); 380extern struct frame *x_menubar_window_to_frame P_ ((struct x_display_info *, int));
381extern struct frame *x_top_window_to_frame P_ ((struct x_display_info *, int)); 381extern struct frame *x_top_window_to_frame P_ ((struct x_display_info *, int));
382 382
383#if ! defined (USE_X_TOOLKIT) && ! defined (USE_GTK)
384#define x_any_window_to_frame x_window_to_frame
385#define x_top_window_to_frame x_window_to_frame
386#endif
387
383/* This is a chain of structures for all the X displays currently in use. */ 388/* This is a chain of structures for all the X displays currently in use. */
384extern struct x_display_info *x_display_list; 389extern struct x_display_info *x_display_list;
385 390