emacs-diffs
[Top][All Lists]
Advanced

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

scratch/se-matrix b0450d32f80: Actually set frame_current_matrix


From: Gerd Moellmann
Subject: scratch/se-matrix b0450d32f80: Actually set frame_current_matrix
Date: Sat, 18 Jan 2025 12:29:50 -0500 (EST)

branch: scratch/se-matrix
commit b0450d32f80ca268232a80157c2b1171fababa4c
Author: Gerd Möllmann <gerd@gnu.org>
Commit: Gerd Möllmann <gerd@gnu.org>

    Actually set frame_current_matrix
---
 src/dispnew.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/dispnew.c b/src/dispnew.c
index d7058cb3535..f231a94029b 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -4070,7 +4070,11 @@ choose_frame_or_terminal_matrices (struct frame *root, 
Lisp_Object z_order)
      is no point in switching back to frame matrices. */
   const bool visible_child = CONSP (XCDR (z_order));
   if (visible_child && !is_using_terminal_matrices (root))
-    make_terminal_matrices (root);
+    {
+      make_terminal_matrices (root);
+      root->frame_current_matrix = root->current_matrix;
+      root->frame_desired_matrix = root->desired_matrix;
+    }
 
   if (is_using_terminal_matrices (root))
     {



reply via email to

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