}
#endif
-/* Remove calls to XFlush by defining XFlush to an empty replacement.
- Calls to XFlush should be unnecessary because the X output buffer
- is flushed automatically as needed by calls to XPending,
- XNextEvent, or XWindowEvent according to the XFlush man page.
- XTread_socket calls XPending. Removing XFlush improves
- performance. */
-
-#define XFlush(DISPLAY) (void) 0
-
\f
/***********************************************************************
Debugging
mark_window_cursors_off (XWINDOW (FRAME_ROOT_WINDOW (f)));
block_input ();
-
font_drop_xrender_surfaces (f);
x_clear_window (f);
/* We have to clear the scroll bars. If we have changed colors or
something like that, then they should be notified. */
x_scroll_bar_clear (f);
-
- XFlush (FRAME_X_DISPLAY (f));
-
unblock_input ();
}
view->clip_bottom - view->clip_top);
}
xwidget_expose (view);
- XFlush (dpy);
}
}
}
xic_set_preeditarea (w, x, y);
#endif
}
-
- XFlush (FRAME_X_DISPLAY (f));
}
\f
XFreeCursor (FRAME_X_DISPLAY (f), f->output_data.x->bottom_edge_cursor);
if (f->output_data.x->bottom_left_corner_cursor != 0)
XFreeCursor (FRAME_X_DISPLAY (f), f->output_data.x->bottom_left_corner_cursor);
-
- XFlush (FRAME_X_DISPLAY (f));
}
#ifdef HAVE_GTK3