mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-08 14:41:57 +08:00
Fixes to previous checkpoint. Non-ascii keys seem to work correctly.
Still not supporting key composition on X11.
This commit is contained in:
@@ -120,7 +120,6 @@ CMSWindowsSecondaryScreen::keyRepeat(KeyID key,
|
||||
|
||||
// if we've seen this button (and we should have) then make sure
|
||||
// we release the same key we pressed when we saw it.
|
||||
ServerKeyMap::iterator index = m_serverKeyMap.find(button);
|
||||
if (index != m_serverKeyMap.end() && virtualKey != index->second) {
|
||||
// replace key up with previous keycode but leave key down
|
||||
// alone so it uses the new keycode and store that keycode
|
||||
|
||||
Reference in New Issue
Block a user