Disable deferred updates in xp_init to fix performance problems

-- thanks to Eric Gouriou for pointing out the issue
This commit is contained in:
Ben Byer 2007-11-04 19:14:10 -08:00 committed by Ben Byer
parent 476a9d85f8
commit 169f83e366

View File

@ -228,7 +228,7 @@ xprDisplayInit(void)
else
darwinScreensFound = 1;
if (xp_init(XP_IN_BACKGROUND) != Success)
if (xp_init(XP_IN_BACKGROUND | XP_NO_DEFERRED_UPDATES) != Success)
FatalError("Could not initialize the Xplugin library.");
xp_select_events(XP_EVENT_DISPLAY_CHANGED