summaryrefslogtreecommitdiff
path: root/src/xterm.c
diff options
context:
space:
mode:
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>2015-06-05 09:41:40 +0900
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>2015-06-05 09:41:40 +0900
commitdcf18b5c84fc9704bb2d1cfd01519710f105d126 (patch)
treec82d550ce463fe3fe895ef0c9e75291e83ff0c4c /src/xterm.c
parentddaef07eca8b66fd6b6ec90f3f307eca663c9af7 (diff)
downloademacs-dcf18b5c84fc9704bb2d1cfd01519710f105d126.tar.gz
Undo removal of x_clear_area call on expose for GTK3 or cairo.
* src/xterm.c (handle_one_xevent) [HAVE_GTK3 || USE_CAIRO]: Clear exposed area. (Bug#20677)
Diffstat (limited to 'src/xterm.c')
-rw-r--r--src/xterm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 25c0d878ecc..691ede58b43 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -7668,7 +7668,7 @@ handle_one_xevent (struct x_display_info *dpyinfo,
}
else
{
-#if defined (USE_GTK) && ! defined (HAVE_GTK3) && ! defined (USE_CAIRO)
+#ifdef USE_GTK
/* This seems to be needed for GTK 2.6 and later, see
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=15398. */
x_clear_area (f,