mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-28 08:49:42 -05: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:
parent
85d532953f
commit
0b8f07f58e
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user