mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-28 09:59:56 +00:00
(!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:
@@ -133,7 +133,10 @@ InitInput(int argc, char *argv[])
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user