mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-22 17:49:50 +01:00
better find device cats
This commit is contained in:
parent
5d9d55a245
commit
80b3a436d2
1 changed files with 1 additions and 1 deletions
|
@ -938,7 +938,7 @@ void CConfigManager::parseLine(std::string& line) {
|
|||
|
||||
const auto LASTSEP = currentCategory.find_last_of(':');
|
||||
|
||||
if (LASTSEP == std::string::npos || currentCategory.contains("device:"))
|
||||
if (LASTSEP == std::string::npos || currentCategory.contains("device"))
|
||||
currentCategory = "";
|
||||
else
|
||||
currentCategory = currentCategory.substr(0, LASTSEP);
|
||||
|
|
Loading…
Reference in a new issue