Implemented ui_getch() for XCB