mirror of
https://github.com/hyprwm/Hyprland
synced 2026-04-25 20:20:40 +02:00
ANR: rename socket event to anr
This commit is contained in:
parent
5a3c01e7e4
commit
ecbf7dd877
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ void CANRManager::onTick() {
|
|||
if (data->missedResponses >= *PANRTHRESHOLD) {
|
||||
if (!data->isRunning() && !data->dialogSaidWait) {
|
||||
if (data->missedResponses == *PANRTHRESHOLD)
|
||||
g_pEventManager->postEvent(SHyprIPCEvent{.event = "applicationnotresponding", .data = std::to_string(data->getPid())});
|
||||
g_pEventManager->postEvent(SHyprIPCEvent{.event = "anr", .data = std::to_string(data->getPid())});
|
||||
|
||||
if (*PENABLEANR) {
|
||||
data->runDialog("Application Not Responding", firstWindow->m_title, firstWindow->m_class, data->getPid());
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue