Skip to content

Commit

Permalink
internal: use isNumber from hyprutils (#9467)
Browse files Browse the repository at this point in the history
  • Loading branch information
littleblack111 authored Feb 23, 2025
1 parent 8f50460 commit 2e81648
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/managers/KeybindManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1043,7 +1043,7 @@ SDispatchResult CKeybindManager::killWindow(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"};

try {
Expand Down

0 comments on commit 2e81648

Please sign in to comment.