From: Philipp Stephani Date: Tue, 26 Sep 2017 18:28:29 +0000 (+0200) Subject: Revert "Don't attempt to disable double buffering in newer GTK+ versions" X-Git-Tag: emacs-27.0.90~6290 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2fa19cc5510cdbf00c54991a9959be984dd99fbe;p=emacs.git Revert "Don't attempt to disable double buffering in newer GTK+ versions" This reverts commit c0af83b6ccf2dab9a515dd7f52eb9d4500275ae3. --- diff --git a/src/gtkutil.c b/src/gtkutil.c index 8ecbc5c91ed..b98b0d08e7a 100644 --- a/src/gtkutil.c +++ b/src/gtkutil.c @@ -1233,14 +1233,12 @@ xg_create_frame_widgets (struct frame *f) if (FRAME_EXTERNAL_TOOL_BAR (f)) update_frame_tool_bar (f); -#if ! GTK_CHECK_VERSION (3, 14, 0) /* We don't want this widget double buffered, because we draw on it with regular X drawing primitives, so from a GTK/GDK point of view, the widget is totally blank. When an expose comes, this will make the widget blank, and then Emacs redraws it. This flickers a lot, so we turn off double buffering. */ gtk_widget_set_double_buffered (wfixed, FALSE); -#endif #if ! GTK_CHECK_VERSION (3, 22, 0) gtk_window_set_wmclass (GTK_WINDOW (wtop),