mirror of https://github.com/debauchee/barrier.git
Removing some odd logic fromt the keyboard broadcast patch which now causes it to eat keystrokes on clients. I have no idea what the original intention of that was, but it tests out fine without it.
This commit is contained in:
parent
027c2a849f
commit
8de84743bc
|
@ -1558,8 +1558,7 @@ CServer::onKeyDown(KeyID id, KeyModifierMask mask, KeyButton button,
|
|||
assert(m_active != NULL);
|
||||
|
||||
// relay
|
||||
if (!m_keyboardBroadcasting &&
|
||||
(screens && IKeyState::CKeyInfo::isDefault(screens))) {
|
||||
if (!m_keyboardBroadcasting && IKeyState::CKeyInfo::isDefault(screens)) {
|
||||
m_active->keyDown(id, mask, button);
|
||||
}
|
||||
else {
|
||||
|
@ -1586,8 +1585,7 @@ CServer::onKeyUp(KeyID id, KeyModifierMask mask, KeyButton button,
|
|||
assert(m_active != NULL);
|
||||
|
||||
// relay
|
||||
if (!m_keyboardBroadcasting &&
|
||||
(screens && IKeyState::CKeyInfo::isDefault(screens))) {
|
||||
if (!m_keyboardBroadcasting && IKeyState::CKeyInfo::isDefault(screens)) {
|
||||
m_active->keyUp(id, mask, button);
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in New Issue