Disable deferred updates in xp_init to fix performance problems
-- thanks to Eric Gouriou for pointing out the issue
This commit is contained in:
		
							parent
							
								
									476a9d85f8
								
							
						
					
					
						commit
						169f83e366
					
				| 
						 | 
					@ -228,7 +228,7 @@ xprDisplayInit(void)
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
        darwinScreensFound =  1;
 | 
					        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.");
 | 
					        FatalError("Could not initialize the Xplugin library.");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    xp_select_events(XP_EVENT_DISPLAY_CHANGED
 | 
					    xp_select_events(XP_EVENT_DISPLAY_CHANGED
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue