diff options
| author | Fabio Lenherr <fabio.lenherr@gmail.com> | 2022-09-21 22:29:52 +0200 |
|---|---|---|
| committer | Fabio Lenherr <fabio.lenherr@gmail.com> | 2022-09-21 22:29:52 +0200 |
| commit | c1feb683ced87fa1622b797c92512697ddad38de (patch) | |
| tree | 51493df53a36760a34508bd64869bdc45a36fe9a /src/config | |
| parent | d51c7ca13531afb6cc4282b317f92fdb88b4f428 (diff) | |
added high to monitor resolution
Diffstat (limited to 'src/config')
| -rw-r--r-- | src/config/ConfigManager.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp index 94a81458..920eecc8 100644 --- a/src/config/ConfigManager.cpp +++ b/src/config/ConfigManager.cpp @@ -460,6 +460,8 @@ void CConfigManager::handleMonitor(const std::string& command, const std::string if (curitem.find("pref") == 0) { newrule.resolution = Vector2D(); + } else if(curitem.find("high") == 0) { + newrule.resolution = Vector2D(-1,-1); } else { newrule.resolution.x = stoi(curitem.substr(0, curitem.find_first_of('x'))); newrule.resolution.y = stoi(curitem.substr(curitem.find_first_of('x') + 1, curitem.find_first_of('@'))); |
