From 169f83e366f678ac5441ad21beb84c9b8c65d28e Mon Sep 17 00:00:00 2001 From: Ben Byer Date: Sun, 4 Nov 2007 19:14:10 -0800 Subject: [PATCH] Disable deferred updates in xp_init to fix performance problems -- thanks to Eric Gouriou for pointing out the issue --- hw/darwin/quartz/xpr/xprScreen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/darwin/quartz/xpr/xprScreen.c b/hw/darwin/quartz/xpr/xprScreen.c index 709e6e8cc..886ef343f 100644 --- a/hw/darwin/quartz/xpr/xprScreen.c +++ b/hw/darwin/quartz/xpr/xprScreen.c @@ -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