diff options
author | Ben Byer <bbyer@bbyer.local> | 2007-11-04 19:14:10 -0800 |
---|---|---|
committer | Ben Byer <bbyer@bbyer.apple.com> | 2007-11-08 20:00:55 -0800 |
commit | 169f83e366f678ac5441ad21beb84c9b8c65d28e (patch) | |
tree | 1dc29aa09c2e6465500bf683e81613abca0e1566 /hw/darwin/quartz/xpr/xprScreen.c | |
parent | 476a9d85f819f454a6901ccb7eb028d1c563c341 (diff) |
Disable deferred updates in xp_init to fix performance problems
-- thanks to Eric Gouriou for pointing out the issue
Diffstat (limited to 'hw/darwin/quartz/xpr/xprScreen.c')
-rw-r--r-- | hw/darwin/quartz/xpr/xprScreen.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |