We might be calling this outside a normal FLTK event, so we cannot trust fl_event_time to have a sane value.tags/v1.8.90
@@ -829,7 +829,7 @@ void DesktopWindow::ungrabKeyboard() | |||
if (Fl::grab()) | |||
return; | |||
XUngrabKeyboard(fl_display, fl_event_time); | |||
XUngrabKeyboard(fl_display, CurrentTime); | |||
#endif | |||
} | |||