Preserve state of lock keys when keymap is loaded.
Signed-off-by: Axel Dörfler <[email protected]>
This commit is contained in:
committed by
Jérôme Duval
parent
894bce690b
commit
da2f4733e6
@@ -339,7 +339,10 @@ Keymap::SetDeadKeyTrigger(dead_key_index deadKeyIndex, const BString& trigger)
|
|||||||
status_t
|
status_t
|
||||||
Keymap::Use()
|
Keymap::Use()
|
||||||
{
|
{
|
||||||
return _restore_key_map_();
|
status_t result = _restore_key_map_();
|
||||||
|
if (result == B_OK)
|
||||||
|
set_keyboard_locks(modifiers());
|
||||||
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user