mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-12-05 16:22:36 -08:00
Don't re-register the global shortcut when the keyboard mapping changes.
This breaks after the first global auto-type.
This commit is contained in:
1 parent
85d532953f
commit
0b8f07f58e
1 file changed
+3
-2
@@ -369,10 +369,11 @@ void AutoTypePlatformX11::updateKeymap() {
|
||||
|
||||
m_modifierMask = ControlMask | ShiftMask | m_altMask | m_metaMask;
|
||||
|
||||
if (m_currentGlobalKey && m_currentGlobalModifiers) {
|
||||
// TODO: figure out why this breaks after the first global auto-type
|
||||
/*if (m_currentGlobalKey && m_currentGlobalModifiers) {
|
||||
unregisterGlobalShortcut(m_currentGlobalKey, m_currentGlobalModifiers);
|
||||
registerGlobalShortcut(m_currentGlobalKey, m_currentGlobalModifiers);
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
void AutoTypePlatformX11::startCatchXErrors()
|
||||
|
||||
Reference in new issue
Block a user