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

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