anr: add xwayland support (#9456)

Adds XWayland support to ANR dialogs
This commit is contained in:
Vaxry
2025-02-21 21:26:53 +01:00
committed by GitHub
parent 0e24f9c0d5
commit f4b148df1e
7 changed files with 184 additions and 58 deletions

View File

@@ -1801,8 +1801,5 @@ void CWindow::deactivateGroupMembers() {
}
bool CWindow::isNotResponding() {
if (!m_pXDGSurface)
return false;
return g_pANRManager->isNotResponding(m_pXDGSurface->owner.lock());
return g_pANRManager->isNotResponding(m_pSelf.lock());
}