internal: use isNumber from hyprutils (#9467)
This commit is contained in:
parent
8f50460bfe
commit
2e81648980
1 changed files with 1 additions and 1 deletions
|
|
@ -1043,7 +1043,7 @@ SDispatchResult CKeybindManager::killWindow(std::string args) {
|
||||||
}
|
}
|
||||||
|
|
||||||
SDispatchResult CKeybindManager::signalActive(std::string args) {
|
SDispatchResult CKeybindManager::signalActive(std::string args) {
|
||||||
if (!std::all_of(args.begin(), args.end(), ::isdigit))
|
if (!isNumber(args))
|
||||||
return {.success = false, .error = "signalActive: signal has to be int"};
|
return {.success = false, .error = "signalActive: signal has to be int"};
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue