mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-04 15:39:34 +01: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:
@@ -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