2004-10-20 Jan Dj\e,Ad\e(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
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 */