diff --git a/server/CXWindowsPrimaryScreen.cpp b/server/CXWindowsPrimaryScreen.cpp index 1e75254e..0dc659e9 100644 --- a/server/CXWindowsPrimaryScreen.cpp +++ b/server/CXWindowsPrimaryScreen.cpp @@ -455,7 +455,7 @@ CXWindowsPrimaryScreen::showWindow() do { // keyboard first do { - result = XGrabKeyboard(display, m_window, True, + result = XGrabKeyboard(display, m_window, True, GrabModeAsync, GrabModeAsync, CurrentTime); assert(result != GrabNotViewable); if (result != GrabSuccess) {