aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/frame.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frame.c b/src/frame.c
index 3b8ce346cad..f2262f3a216 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -1535,7 +1535,7 @@ and returns whatever that function returns. */)
1535 1535
1536#ifdef HAVE_MOUSE 1536#ifdef HAVE_MOUSE
1537 /* It's okay for the hook to refrain from storing anything. */ 1537 /* It's okay for the hook to refrain from storing anything. */
1538 if (mouse_position_hook) 1538 if (!FRAME_TERMCAP_P (f) && mouse_position_hook)
1539 (*mouse_position_hook) (&f, -1, 1539 (*mouse_position_hook) (&f, -1,
1540 &lispy_dummy, &party_dummy, 1540 &lispy_dummy, &party_dummy,
1541 &x, &y, 1541 &x, &y,