mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-07-25 17:21:54 -07:00
internal: use isNumber from hyprutils (#9467)
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user