emacs-diffs
[Top][All Lists]
Advanced

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

master a139748e54: Fix frames with explicit parent being unmapped after


From: Po Lu
Subject: master a139748e54: Fix frames with explicit parent being unmapped after parent shuts down
Date: Tue, 13 Sep 2022 02:30:23 -0400 (EDT)

branch: master
commit a139748e546b86bef3b85d10b9642d62b3e0d69a
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    Fix frames with explicit parent being unmapped after parent shuts down
    
    * src/xterm.c (handle_one_xevent): Delete leftover _XEMBED_INFO
    property after parent shuts down.
---
 src/xterm.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/xterm.c b/src/xterm.c
index 48502f12d8..96d25b2643 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -18490,6 +18490,10 @@ handle_one_xevent (struct x_display_info *dpyinfo,
                 during the start of save-set processing.  */
 
              FRAME_X_OUTPUT (f)->explicit_parent = false;
+
+             /* Remove the leftover XEMBED_INFO property.  */
+             XDeleteProperty (dpyinfo->display, FRAME_OUTER_WINDOW (f),
+                              dpyinfo->Xatom_XEMBED_INFO);
              x_make_frame_visible (f);
            }
 #endif



reply via email to

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