mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-07-04 19:37:07 -04: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
1 changed files with 3 additions and 2 deletions
|
@ -369,10 +369,11 @@ void AutoTypePlatformX11::updateKeymap() {
|
||||||
|
|
||||||
m_modifierMask = ControlMask | ShiftMask | m_altMask | m_metaMask;
|
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);
|
unregisterGlobalShortcut(m_currentGlobalKey, m_currentGlobalModifiers);
|
||||||
registerGlobalShortcut(m_currentGlobalKey, m_currentGlobalModifiers);
|
registerGlobalShortcut(m_currentGlobalKey, m_currentGlobalModifiers);
|
||||||
}
|
}*/
|
||||||
}
|
}
|
||||||
|
|
||||||
void AutoTypePlatformX11::startCatchXErrors()
|
void AutoTypePlatformX11::startCatchXErrors()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue