projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39646c8
)
* src/xterm.c (x_scroll_run): Only flush GC if really necessary.
author
Po Lu
<luangruo@yahoo.com>
Tue, 26 Apr 2022 03:57:47 +0000
(11:57 +0800)
committer
Po Lu
<luangruo@yahoo.com>
Tue, 26 Apr 2022 03:58:35 +0000
(11:58 +0800)
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index 0f93e4807fc60bff8943d5c47c72b10f1452ad04..3abc67a4b10583a8fd291640520c3c3f817da9bb 100644
(file)
--- a/
src/xterm.c
+++ b/
src/xterm.c
@@
-9128,11
+9128,13
@@
x_scroll_run (struct window *w, struct run *run)
}
#endif
+#ifdef USE_CAIRO_XCB_SURFACE
/* Some of the following code depends on `normal_gc' being
up-to-date on the X server, but doesn't call a routine that will
flush it first. So do this ourselves instead. */
XFlushGC (FRAME_X_DISPLAY (f),
f->output_data.x->normal_gc);
+#endif
#ifdef USE_CAIRO
if (FRAME_CR_CONTEXT (f))