Blame SOURCES/tigervnc-use-current-server-time-for-ungrab.patch

b0f0da
diff --git a/vncviewer/DesktopWindow.cxx b/vncviewer/DesktopWindow.cxx
b0f0da
index 8f387dc..a93aa50 100644
b0f0da
--- a/vncviewer/DesktopWindow.cxx
b0f0da
+++ b/vncviewer/DesktopWindow.cxx
b0f0da
@@ -824,8 +824,8 @@ void DesktopWindow::ungrabKeyboard()
b0f0da
 
b0f0da
   serial = XNextRequest(fl_display);
b0f0da
 
b0f0da
-  XUngrabPointer(fl_display, fl_event_time);
b0f0da
-  XUngrabKeyboard(fl_display, fl_event_time);
b0f0da
+  XUngrabPointer(fl_display, CurrentTime);
b0f0da
+  XUngrabKeyboard(fl_display, CurrentTime);
b0f0da
 
b0f0da
   // See grabKeyboard()
b0f0da
   XSync(fl_display, False);