mirror of
https://github.com/debauchee/barrier.git
synced 2026-02-12 14:45:21 +08:00
checkpoint. now sending toggle modifier state when entering
a screen. this allows the secondary screen to set it's modifier state to match the primary screen's state. this is not strictly necessary since each keystroke should adjust the modifier state as needed to get the right result.
This commit is contained in:
@@ -537,7 +537,8 @@ void CServer::switchScreen(CScreenInfo* dst,
|
||||
m_primary->enter(x, y);
|
||||
}
|
||||
else {
|
||||
m_active->m_protocol->sendEnter(x, y, m_seqNum);
|
||||
m_active->m_protocol->sendEnter(x, y, m_seqNum,
|
||||
m_primary->getToggleMask());
|
||||
}
|
||||
|
||||
// send the clipboard data to new active screen
|
||||
|
||||
Reference in New Issue
Block a user