diff options
author | Jason Rumney <jasonr@gnu.org> | 2007-05-15 23:02:24 +0000 |
---|---|---|
committer | Jason Rumney <jasonr@gnu.org> | 2007-05-15 23:02:24 +0000 |
commit | 7ab7006cf6efd2a3867b6a49138bddf01a6b79ac (patch) | |
tree | 1050a74926ed4aa1cb16d692fb8ac9d50e8b6de6 /src/w32menu.c | |
parent | 2dc8b986833d0f03026dd91549ef39908d380b54 (diff) | |
download | emacs-7ab7006cf6efd2a3867b6a49138bddf01a6b79ac.tar.gz |
(Fx_popup_menu): Use terminal specific mouse_position_hook.
Diffstat (limited to 'src/w32menu.c')
-rw-r--r-- | src/w32menu.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/w32menu.c b/src/w32menu.c index ba29c6ae433..5f507ad76c0 100644 --- a/src/w32menu.c +++ b/src/w32menu.c @@ -20,14 +20,15 @@ the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #include <config.h> -#include <signal.h> +#include <signal.h> #include <stdio.h> + #include "lisp.h" -#include "termhooks.h" #include "keyboard.h" #include "keymap.h" #include "frame.h" +#include "termhooks.h" #include "window.h" #include "blockinput.h" #include "buffer.h" @@ -673,8 +674,8 @@ cached information about equivalent key sequences. */) enum scroll_bar_part part; unsigned long time; - if (mouse_position_hook) - (*mouse_position_hook) (&new_f, 1, &bar_window, + if (FRAME_TERMINAL (new_f)->mouse_position_hook) + (*FRAME_TERMINAL (new_f)->mouse_position_hook) (&new_f, 1, &bar_window, &part, &x, &y, &time); if (new_f != 0) XSETFRAME (window, new_f); |