| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -430,8 +430,13 @@ void vncPostScreenResize(int scrIdx, int success, int width, int height)
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					{
 | 
					 | 
					 | 
					 | 
					{
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  if (success) {
 | 
					 | 
					 | 
					 | 
					  if (success) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    // Let the RFB core know of the new dimensions and framebuffer
 | 
					 | 
					 | 
					 | 
					    // Let the RFB core know of the new dimensions and framebuffer
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    try {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      desktop[scrIdx]->setFramebuffer(width, height,
 | 
					 | 
					 | 
					 | 
					      desktop[scrIdx]->setFramebuffer(width, height,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                                    vncFbptr[scrIdx], vncFbstride[scrIdx]);
 | 
					 | 
					 | 
					 | 
					                                      vncFbptr[scrIdx],
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                                      vncFbstride[scrIdx]);
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    } catch (rdr::Exception& e) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      vncFatalError("vncPostScreenResize: %s\n", e.str());
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  }
 | 
					 | 
					 | 
					 | 
					  }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  desktop[scrIdx]->unblockUpdates();
 | 
					 | 
					 | 
					 | 
					  desktop[scrIdx]->unblockUpdates();
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
 
 |