aboutsummaryrefslogtreecommitdiffstats
path: root/src/term.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/term.c')
-rw-r--r--src/term.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/term.c b/src/term.c
index b408a4a0907..00ef53d5c94 100644
--- a/src/term.c
+++ b/src/term.c
@@ -2922,14 +2922,14 @@ tty_menu_display (tty_menu *menu, int x, int y, int pn, int *faces,
2922 int i, face, width, mx = -1, my = -1, enabled, mousehere, row, col; 2922 int i, face, width, mx = -1, my = -1, enabled, mousehere, row, col;
2923 struct frame *sf = SELECTED_FRAME (); 2923 struct frame *sf = SELECTED_FRAME ();
2924 struct tty_display_info *tty = FRAME_TTY (sf); 2924 struct tty_display_info *tty = FRAME_TTY (sf);
2925#if defined (HAVE_MOUSE) || defined (HAVE_GPM) 2925#if defined (WINDOWSNT) || defined (HAVE_GPM)
2926 Lisp_Object lmx, lmy, lisp_dummy; 2926 Lisp_Object lmx, lmy, lisp_dummy;
2927 enum scroll_bar_part part_dummy; 2927 enum scroll_bar_part part_dummy;
2928 Time time_dummy; 2928 Time time_dummy;
2929 2929
2930 if (FRAME_TERMINAL (sf)->mouse_position_hook) 2930 if (FRAME_TERMINAL (sf)->mouse_position_hook)
2931 (*FRAME_TERMINAL (sf)->mouse_position_hook) (&sf, -1, 2931 (*FRAME_TERMINAL (sf)->mouse_position_hook) (&sf, -1,
2932 &lispy_dummy, &party_dummy, 2932 &lisp_dummy, &part_dummy,
2933 &lmx, &lmy, 2933 &lmx, &lmy,
2934 &time_dummy); 2934 &time_dummy);
2935 if (!NILP (lmx)) 2935 if (!NILP (lmx))