Limit manual flushing so we don't get hit by quartz' fps limiting

This commit is contained in:
Richard Hult
2009-02-09 15:46:30 +01:00
committed by Alexander Larsson
parent 9af5f2b495
commit 0092c1ebf0
3 changed files with 41 additions and 1 deletions

View File

@ -424,6 +424,8 @@ _gdk_windowing_after_process_all_updates (void)
[[nswindow contentView] displayIfNeeded];
_gdk_quartz_drawable_flush (NULL);
[nswindow enableFlushWindow];
[nswindow flushWindow];
[nswindow release];