aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/w32menu.c9
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,
20Boston, MA 02110-1301, USA. */ 20Boston, MA 02110-1301, USA. */
21 21
22#include <config.h> 22#include <config.h>
23#include <signal.h>
24 23
24#include <signal.h>
25#include <stdio.h> 25#include <stdio.h>
26
26#include "lisp.h" 27#include "lisp.h"
27#include "termhooks.h"
28#include "keyboard.h" 28#include "keyboard.h"
29#include "keymap.h" 29#include "keymap.h"
30#include "frame.h" 30#include "frame.h"
31#include "termhooks.h"
31#include "window.h" 32#include "window.h"
32#include "blockinput.h" 33#include "blockinput.h"
33#include "buffer.h" 34#include "buffer.h"
@@ -673,8 +674,8 @@ cached information about equivalent key sequences. */)
673 enum scroll_bar_part part; 674 enum scroll_bar_part part;
674 unsigned long time; 675 unsigned long time;
675 676
676 if (mouse_position_hook) 677 if (FRAME_TERMINAL (new_f)->mouse_position_hook)
677 (*mouse_position_hook) (&new_f, 1, &bar_window, 678 (*FRAME_TERMINAL (new_f)->mouse_position_hook) (&new_f, 1, &bar_window,
678 &part, &x, &y, &time); 679 &part, &x, &y, &time);
679 if (new_f != 0) 680 if (new_f != 0)
680 XSETFRAME (window, new_f); 681 XSETFRAME (window, new_f);