From ab62dec0f703c9d448ccd5190361fce8e36d8f15 Mon Sep 17 00:00:00 2001 From: crs Date: Fri, 3 May 2002 11:49:30 +0000 Subject: [PATCH] removed attempt to make release/press of a repeating key use the same server time. was getting what appears to be deadlock but not sure why. --- client/CXWindowsSecondaryScreen.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/client/CXWindowsSecondaryScreen.cpp b/client/CXWindowsSecondaryScreen.cpp index eda25015..c0cdffc1 100644 --- a/client/CXWindowsSecondaryScreen.cpp +++ b/client/CXWindowsSecondaryScreen.cpp @@ -717,16 +717,10 @@ void CXWindowsSecondaryScreen::doKeystrokes( // with m_repeat == false count times. Keystrokes::const_iterator start = k; for (; count > 0; --count) { - // we generally want repeating keys to use the exact - // same event time for each release/press pair so we - // don't want to use CurrentTime which can't ensure - // that. - Time time = getCurrentTime(m_window); - // send repeating events for (k = start; k != keys.end() && k->m_repeat; ++k) { XTestFakeKeyEvent(display, - k->m_keycode, k->m_press, time); + k->m_keycode, k->m_press, CurrentTime); } }