projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
075f21c
)
Fix rendering bug due to unsynchronized cairo surface size (Bug#38497)
author
YAMAMOTO Mitsuharu
<mituharu@math.s.chiba-u.ac.jp>
Tue, 7 Jan 2020 03:42:19 +0000
(12:42 +0900)
committer
YAMAMOTO Mitsuharu
<mituharu@math.s.chiba-u.ac.jp>
Tue, 7 Jan 2020 03:42:19 +0000
(12:42 +0900)
* src/xterm.c (handle_one_xevent) <ConfigureNotify> [USE_CAIRO && !USE_GTK]:
Call x_cr_update_surface_desired_size for a related frame as a fallback.
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index ada3cec1636561fe80e89a675805db6bab27a6f0..21d99f0c7bbc8c7acb8f270123e0187e231aad99 100644
(file)
--- a/
src/xterm.c
+++ b/
src/xterm.c
@@
-8934,6
+8934,10
@@
handle_one_xevent (struct x_display_info *dpyinfo,
if (f)
x_cr_update_surface_desired_size (f, configureEvent.xconfigure.width,
configureEvent.xconfigure.height);
+ else if (any && configureEvent.xconfigure.window == FRAME_X_WINDOW (any))
+ x_cr_update_surface_desired_size (any,
+ configureEvent.xconfigure.width,
+ configureEvent.xconfigure.height);
#endif
#ifdef USE_GTK
if (!f