summaryrefslogtreecommitdiff
path: root/src/managers/ANRManager.cpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2025-02-18 15:20:00 +0000
committerVaxry <vaxry@vaxry.net>2025-02-18 15:20:00 +0000
commit0137a5f6cdd24d5a10f813572791f1e641221a5b (patch)
tree86fc41d2f8ecc082cb50461a79a027f78ca69e57 /src/managers/ANRManager.cpp
parent3c1a2e9fcae6575e1f17627047c93d6e9fcc8634 (diff)
anr: capitalize options
Diffstat (limited to 'src/managers/ANRManager.cpp')
-rw-r--r--src/managers/ANRManager.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/managers/ANRManager.cpp b/src/managers/ANRManager.cpp
index e2b276ee..af1cb93a 100644
--- a/src/managers/ANRManager.cpp
+++ b/src/managers/ANRManager.cpp
@@ -126,7 +126,7 @@ void CANRManager::SANRData::runDialog(const std::string& title, const std::strin
makeShared<CProcess>("hyprland-dialog",
std::vector<std::string>{"--title", title, "--text",
std::format("Application {} with class of {} is not responding.\nWhat do you want to do with it?", appName, appClass),
- "--buttons", "terminate;wait"});
+ "--buttons", "Terminate;Wait"});
dialogProc = proc;
proc->runSync();
@@ -136,9 +136,9 @@ void CANRManager::SANRData::runDialog(const std::string& title, const std::strin
if (proc->stdOut().empty())
return;
- if (proc->stdOut().starts_with("terminate"))
+ if (proc->stdOut().starts_with("Terminate"))
kill(dialogWmPID, SIGKILL);
- if (proc->stdOut().starts_with("wait"))
+ if (proc->stdOut().starts_with("Wait"))
dialogThreadSaidWait = true;
});
}