mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-01 12:41:55 -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) {
|
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 {
|
||||||
|
Reference in New Issue
Block a user