mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-08 23:14:20 +08:00
Added support on X11 for a global option to delay switching screens
when the mouse reaches a jump zone.
This commit is contained in:
@@ -102,6 +102,12 @@ CXWindowsPrimaryScreen::setOptions(const COptionsList& options)
|
||||
}
|
||||
}
|
||||
|
||||
UInt32
|
||||
CXWindowsPrimaryScreen::addOneShotTimer(double timeout)
|
||||
{
|
||||
return m_screen->addOneShotTimer(timeout);
|
||||
}
|
||||
|
||||
KeyModifierMask
|
||||
CXWindowsPrimaryScreen::getToggleMask() const
|
||||
{
|
||||
@@ -387,6 +393,12 @@ CXWindowsPrimaryScreen::onEvent(CEvent* event)
|
||||
return false;
|
||||
}
|
||||
|
||||
void
|
||||
CXWindowsPrimaryScreen::onOneShotTimerExpired(UInt32 id)
|
||||
{
|
||||
m_receiver->onOneShotTimerExpired(id);
|
||||
}
|
||||
|
||||
SInt32
|
||||
CXWindowsPrimaryScreen::getJumpZoneSize() const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user