Added switch delay and double-tap options to win32 and added a

tray icon to the client and server that gives status feedback to
the user and allows the user to kill the app.
This commit is contained in:
crs
2003-03-12 22:34:07 +00:00
parent f411df65fb
commit 1d17f865ea
82 changed files with 4420 additions and 396 deletions

View File

@@ -356,7 +356,7 @@ CXWindowsSecondaryScreen::destroyWindow()
CDisplayLock display(m_screen);
if (display != NULL) {
// release keys that are still pressed
releaseKeys(display);
doReleaseKeys(display);
// no longer impervious to server grabs
XTestGrabControl(display, False);
@@ -901,7 +901,7 @@ CXWindowsSecondaryScreen::maskToX(KeyModifierMask inMask) const
}
void
CXWindowsSecondaryScreen::releaseKeys(Display* display)
CXWindowsSecondaryScreen::doReleaseKeys(Display* display)
{
assert(display != NULL);
@@ -969,6 +969,15 @@ CXWindowsSecondaryScreen::updateKeys()
updateModifiers(display);
}
void
CXWindowsSecondaryScreen::releaseKeys()
{
CDisplayLock display(m_screen);
if (display != NULL) {
doReleaseKeys(display);
}
}
void
CXWindowsSecondaryScreen::updateModifiers(Display* display)
{