# HG changeset patch # User Jan Dj¸«£rv # Date 1252039656 0 # Node ID 34f58690ff981c74a3b1e7a53be39cbd9821c9b3 # Parent f6e8bae2f54fe6f61468352e7511639bc068e567 Must define x_*_window_to_frame for non-toolkit. diff -r f6e8bae2f54f -r 34f58690ff98 src/xterm.h --- a/src/xterm.h Fri Sep 04 04:40:17 2009 +0000 +++ b/src/xterm.h Fri Sep 04 04:47:36 2009 +0000 @@ -380,6 +380,11 @@ extern struct frame *x_menubar_window_to_frame P_ ((struct x_display_info *, int)); extern struct frame *x_top_window_to_frame P_ ((struct x_display_info *, int)); +#if ! defined (USE_X_TOOLKIT) && ! defined (USE_GTK) +#define x_any_window_to_frame x_window_to_frame +#define x_top_window_to_frame x_window_to_frame +#endif + /* This is a chain of structures for all the X displays currently in use. */ extern struct x_display_info *x_display_list;