mirror of
https://github.com/debauchee/barrier.git
synced 2026-02-10 05:36:22 +08:00
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:
@@ -262,6 +262,12 @@ CMSWindowsSecondaryScreen::onEvent(CEvent* event)
|
||||
return false;
|
||||
}
|
||||
|
||||
void
|
||||
CMSWindowsSecondaryScreen::onOneShotTimerExpired(UInt32)
|
||||
{
|
||||
// ignore
|
||||
}
|
||||
|
||||
SInt32
|
||||
CMSWindowsSecondaryScreen::getJumpZoneSize() const
|
||||
{
|
||||
@@ -272,6 +278,11 @@ void
|
||||
CMSWindowsSecondaryScreen::postCreateWindow(HWND window)
|
||||
{
|
||||
m_window = window;
|
||||
|
||||
// update key state
|
||||
updateKeys();
|
||||
|
||||
// hide cursor if this screen isn't active
|
||||
if (!isActive()) {
|
||||
showWindow();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user