changeset 57624:6178d4e9b661

* xterm.h (XSync): If USE_GTK, define XSync as process_all and then XSync.
author Jan Djärv <jan.h.d@swipnet.se>
date Wed, 20 Oct 2004 16:53:27 +0000
parents 1293d7f90911
children 07129d292307
files src/ChangeLog src/xterm.h
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Wed Oct 20 16:23:30 2004 +0000
+++ b/src/ChangeLog	Wed Oct 20 16:53:27 2004 +0000
@@ -1,5 +1,8 @@
 2004-10-20  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>
 
+	* xterm.h (XSync): If USE_GTK, define XSync as process_all and then
+	XSync.
+
 	* emacs.c (my_heap_start, heap_bss_diff, MAX_HEAP_BSS_DIFF):
 	New variables and constant.
 	(main): Calculate heap_bss_diff.  If we are dumping and the
--- a/src/xterm.h	Wed Oct 20 16:23:30 2004 +0000
+++ b/src/xterm.h	Wed Oct 20 16:53:27 2004 +0000
@@ -50,7 +50,9 @@
 typedef GtkWidget *xt_or_gtk_widget;
 #define XtParent(x) (gtk_widget_get_parent (x))
 #undef XSync
-#define XSync(d, b) gdk_window_process_all_updates ()
+#define XSync(d, b) do { gdk_window_process_all_updates (); \
+                         XSync (d, b);  } while (0)
+     
 
 #endif /* USE_GTK */