fl_event_time. Otherwise, the second delayed grab attempt will often fail. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4598 3789f03b-4d11-0410-bbf8-ca57d06f2519tags/v1.1.90
@@ -291,7 +291,7 @@ void DesktopWindow::grabKeyboard() | |||
int ret; | |||
ret = XGrabKeyboard(fl_display, fl_xid(this), True, | |||
GrabModeAsync, GrabModeAsync, fl_event_time); | |||
GrabModeAsync, GrabModeAsync, CurrentTime); | |||
if (ret) { | |||
if (ret == AlreadyGrabbed) { | |||
// It seems like we can race with the WM in some cases. |