emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

scratch/igc 6fb6ba5cf4a: * src/igc.c (fix_frame): Trace Mouse_HLInfo.


From: Gerd Moellmann
Subject: scratch/igc 6fb6ba5cf4a: * src/igc.c (fix_frame): Trace Mouse_HLInfo.
Date: Wed, 4 Sep 2024 03:14:01 -0400 (EDT)

branch: scratch/igc
commit 6fb6ba5cf4aabd7143d9b7a1d1856718c1bc42f3
Author: Gerd Möllmann <gerd@gnu.org>
Commit: Gerd Möllmann <gerd@gnu.org>

    * src/igc.c (fix_frame): Trace Mouse_HLInfo.
---
 src/igc.c | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/src/igc.c b/src/igc.c
index f069a2becc9..542ea225b57 100644
--- a/src/igc.c
+++ b/src/igc.c
@@ -2061,6 +2061,19 @@ fix_frame (mps_ss_t ss, struct frame *f)
     if (f->terminal)
       IGC_FIX12_PVEC (ss, &f->terminal);
 
+    if (!FRAME_INITIAL_P (f))
+      {
+       /* This is typically stored in the dsiplay_info, e.g.
+          ns_display_info. Check for being NULL anyway. */
+       Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (f);
+       if (hlinfo)
+         {
+           IGC_FIX12_OBJ (ss, &hlinfo->mouse_face_window);
+           IGC_FIX12_OBJ (ss, &hlinfo->mouse_face_overlay);
+           IGC_FIX12_RAW (ss, &hlinfo->mouse_face_mouse_frame);
+         }
+      }
+
 #ifdef HAVE_WINDOW_SYSTEM
     if (f->image_cache)
       IGC_FIX12_RAW (ss, &f->image_cache);



reply via email to

[Prev in Thread] Current Thread [Next in Thread]