[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master eac4b924cb: * src/xterm.c (handle_one_xevent): Drop frame picture
From: |
Po Lu |
Subject: |
master eac4b924cb: * src/xterm.c (handle_one_xevent): Drop frame picture on configure. |
Date: |
Sun, 23 Jan 2022 23:58:45 -0500 (EST) |
branch: master
commit eac4b924cb86ea023d660f2b155ba1f36b4a5843
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>
* src/xterm.c (handle_one_xevent): Drop frame picture on configure.
---
src/xterm.c | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/src/xterm.c b/src/xterm.c
index 436238c4a1..e5bcff1067 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -9892,6 +9892,15 @@ handle_one_xevent (struct x_display_info *dpyinfo,
block_input ();
if (f && FRAME_X_DOUBLE_BUFFERED_P (f))
font_drop_xrender_surfaces (f);
+#ifdef HAVE_XRENDER
+ if (f && FRAME_X_DOUBLE_BUFFERED_P (f)
+ && FRAME_X_PICTURE (f) != None)
+ {
+ XRenderFreePicture (FRAME_X_DISPLAY (f),
+ FRAME_X_PICTURE (f));
+ FRAME_X_PICTURE (f) = None;
+ }
+#endif
unblock_input ();
#if defined USE_CAIRO && !defined USE_GTK
if (f)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master eac4b924cb: * src/xterm.c (handle_one_xevent): Drop frame picture on configure.,
Po Lu <=