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.
This commit is contained in:
crs 2002-05-03 11:49:30 +00:00
parent 5641a875c1
commit ab62dec0f7
1 changed files with 1 additions and 7 deletions

View File

@ -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);
}
}