toplevel_impl = (GdkWindowImplQuartz *)toplevel_private->impl;
nswindow = toplevel_impl->toplevel;
+ /* In theory, we could skip the flush disabling, since we only
+ * have one NSView.
+ */
if (nswindow && ![nswindow isFlushWindowDisabled])
{
[nswindow retain];
g_free (rects);
- [impl->view displayIfNeeded];
+ /* NOTE: I'm not sure if we should displayIfNeeded here. It slows down a
+ * lot (since it triggers the beam syncing) and things seem to work
+ * without it.
+ */
}
void
{
NSWindow *nswindow = tmp_list->data;
+ [[nswindow contentView] displayIfNeeded];
+
[nswindow enableFlushWindow];
[nswindow flushWindow];
[nswindow release];