Mercurial > emacs
changeset 104843:34f58690ff98
Must define x_*_window_to_frame for non-toolkit.
author | Jan Djärv <jan.h.d@swipnet.se> |
---|---|
date | Fri, 04 Sep 2009 04:47:36 +0000 |
parents | f6e8bae2f54f |
children | ce7818a96e63 |
files | src/xterm.h |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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;