Previously applied keyboard broadcasting patch broke the original keystroke / keyDown / keyUp screens feature. Fixed
This commit is contained in:
parent
b0574d6fee
commit
027c2a849f
|
@ -1558,7 +1558,7 @@ CServer::onKeyDown(KeyID id, KeyModifierMask mask, KeyButton button,
|
||||||
assert(m_active != NULL);
|
assert(m_active != NULL);
|
||||||
|
|
||||||
// relay
|
// relay
|
||||||
if (!m_keyboardBroadcasting ||
|
if (!m_keyboardBroadcasting &&
|
||||||
(screens && IKeyState::CKeyInfo::isDefault(screens))) {
|
(screens && IKeyState::CKeyInfo::isDefault(screens))) {
|
||||||
m_active->keyDown(id, mask, button);
|
m_active->keyDown(id, mask, button);
|
||||||
}
|
}
|
||||||
|
@ -1586,7 +1586,7 @@ CServer::onKeyUp(KeyID id, KeyModifierMask mask, KeyButton button,
|
||||||
assert(m_active != NULL);
|
assert(m_active != NULL);
|
||||||
|
|
||||||
// relay
|
// relay
|
||||||
if (!m_keyboardBroadcasting ||
|
if (!m_keyboardBroadcasting &&
|
||||||
(screens && IKeyState::CKeyInfo::isDefault(screens))) {
|
(screens && IKeyState::CKeyInfo::isDefault(screens))) {
|
||||||
m_active->keyUp(id, mask, button);
|
m_active->keyUp(id, mask, button);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue