]> git.eshelyaron.com Git - emacs.git/commitdiff
; * src/term.c (term_mouse_position): Fix 'fp' pointer.
authorJuri Linkov <juri@linkov.net>
Sat, 11 Jan 2025 18:40:11 +0000 (20:40 +0200)
committerEshel Yaron <me@eshelyaron.com>
Sun, 12 Jan 2025 14:58:39 +0000 (15:58 +0100)
(cherry picked from commit 3d375ced1f22fcd3b370d715ffdd055684bce5ac)

src/term.c

index b8894844c6c9e543e80391b95582a69cc92b4c4d..f7d3e58a465403e48ce02a3be4950fda857678f5 100644 (file)
@@ -2675,7 +2675,7 @@ term_mouse_position (struct frame **fp, int insist, Lisp_Object *bar_window,
     return;
 
   *fp = XFRAME (last_mouse_frame);
-  if (!FRAME_LIVE_P (fp))
+  if (!FRAME_LIVE_P (*fp))
     return;
 
   (*fp)->mouse_moved = 0;