(!1654) Xnest: replace XConnectionNumber() by xcb_get_file_descriptor()
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
		
							parent
							
								
									3fb0ad0c48
								
							
						
					
					
						commit
						b155017c8e
					
				| 
						 | 
					@ -134,7 +134,10 @@ InitInput(int argc, char *argv[])
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    mieqInit();
 | 
					    mieqInit();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    SetNotifyFd(XConnectionNumber(xnestDisplay), xnestNotifyConnection, X_NOTIFY_READ, NULL);
 | 
					    SetNotifyFd(xcb_get_file_descriptor(xnestUpstreamInfo.conn),
 | 
				
			||||||
 | 
					                xnestNotifyConnection,
 | 
				
			||||||
 | 
					                X_NOTIFY_READ,
 | 
				
			||||||
 | 
					                NULL);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    RegisterBlockAndWakeupHandlers(xnestBlockHandler, xnestWakeupHandler, NULL);
 | 
					    RegisterBlockAndWakeupHandlers(xnestBlockHandler, xnestWakeupHandler, NULL);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue