summaryrefslogtreecommitdiff
path: root/src/dispnew.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2016-01-30 11:28:37 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2016-01-30 11:28:37 -0800
commit2b41d6a979b0ea361e078891b8763b4ae7be8092 (patch)
treeaef17169e9bf8e59baa82ec7df5c1b64139d9c9f /src/dispnew.c
parentfe9c8b687c5121a413342024b62824a86d2de2be (diff)
parent71468e00735a44e19814a73e8f9013c0f272c342 (diff)
downloademacs-2b41d6a979b0ea361e078891b8763b4ae7be8092.tar.gz
-
Diffstat (limited to 'src/dispnew.c')
-rw-r--r--src/dispnew.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index 32c0dff9b92..fe07f793cb5 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -39,15 +39,12 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#include "syssignal.h"
#include "systime.h"
#include "tparam.h"
+#include "xwidget.h"
#ifdef HAVE_WINDOW_SYSTEM
#include TERM_HEADER
#endif /* HAVE_WINDOW_SYSTEM */
-#ifdef HAVE_XWIDGETS
-# include "xwidget.h"
-#endif
-
#include <errno.h>
#include <fpending.h>
@@ -3547,9 +3544,7 @@ update_window (struct window *w, bool force_p)
add_window_display_history (w, w->current_matrix->method, paused_p);
#endif
-#ifdef HAVE_XWIDGETS
xwidget_end_redisplay (w, w->current_matrix);
-#endif
clear_glyph_matrix (desired_matrix);
return paused_p;