KeyboardPreferenceLoader: Use correct default Num Lock config value

This commit is contained in:
ForLoveOfCats 2021-07-13 17:04:04 -04:00 committed by Andreas Kling
parent 11fe38346c
commit 60713c5fcf
Notes: sideshowbarker 2024-07-18 09:06:24 +09:00

View file

@ -52,7 +52,7 @@ int main()
exit(1);
}
bool enable_num_lock = keyboard_settings_config->read_bool_entry("StartupEnable", "NumLock", false);
bool enable_num_lock = keyboard_settings_config->read_bool_entry("StartupEnable", "NumLock", true);
auto keyboard_device_or_error = Core::File::open("/dev/keyboard0", Core::OpenMode::ReadOnly);
if (keyboard_device_or_error.is_error()) {