mirror of
https://github.com/hyprwm/Hyprland
synced 2026-05-07 15:38:05 +02:00
internal: improve cursor size logging (#14180)
This commit is contained in:
parent
e180c59b46
commit
f60e50da00
1 changed files with 2 additions and 2 deletions
|
|
@ -79,7 +79,7 @@ CCursorManager::CCursorManager() {
|
|||
if (SIZE) {
|
||||
try {
|
||||
m_size = std::stoi(SIZE);
|
||||
} catch (...) { ; }
|
||||
} catch (...) { Log::logger->log(Log::WARN, "Invalid HYPRCURSOR_SIZE value \"{}\"", SIZE); }
|
||||
}
|
||||
|
||||
if (m_size <= 0) {
|
||||
|
|
@ -93,7 +93,7 @@ CCursorManager::CCursorManager() {
|
|||
if (SIZE) {
|
||||
try {
|
||||
m_size = std::stoi(SIZE);
|
||||
} catch (...) { ; }
|
||||
} catch (...) { Log::logger->log(Log::WARN, "Invalid XCURSOR_SIZE value \"{}\"", SIZE); }
|
||||
}
|
||||
|
||||
if (m_size <= 0) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue