mirror of
https://github.com/debauchee/barrier.git
synced 2026-02-09 05:13:36 +08:00
Removed ignoreNumLock option. It doesn't really seem to be
necessary.
This commit is contained in:
@@ -646,9 +646,6 @@ CConfig::getOptionName(OptionID id)
|
||||
if (id == kOptionXTestXineramaUnaware) {
|
||||
return "xtestIsXineramaUnaware";
|
||||
}
|
||||
if (id == kOptionIgnoreNumLock) {
|
||||
return "ignoreNumLock";
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
@@ -658,8 +655,7 @@ CConfig::getOptionValue(OptionID id, OptionValue value)
|
||||
if (id == kOptionHalfDuplexCapsLock ||
|
||||
id == kOptionHalfDuplexNumLock ||
|
||||
id == kOptionScreenSaverSync ||
|
||||
id == kOptionXTestXineramaUnaware ||
|
||||
id == kOptionIgnoreNumLock) {
|
||||
id == kOptionXTestXineramaUnaware) {
|
||||
return (value != 0) ? "true" : "false";
|
||||
}
|
||||
if (id == kOptionModifierMapForShift ||
|
||||
@@ -895,10 +891,6 @@ CConfig::readSectionScreens(std::istream& s)
|
||||
addOption(screen, kOptionXTestXineramaUnaware,
|
||||
parseBoolean(value));
|
||||
}
|
||||
else if (name == "ignoreNumLock") {
|
||||
addOption(screen, kOptionIgnoreNumLock,
|
||||
parseBoolean(value));
|
||||
}
|
||||
else {
|
||||
// unknown argument
|
||||
throw XConfigRead("unknown argument");
|
||||
|
||||
Reference in New Issue
Block a user