From 465e3d979d72da90ea4f715393a0d6d3098830b1 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Tue, 29 Apr 2025 18:20:06 +0100 Subject: window: make AsyncDialogBoxes not closeable we don't want the user to accidentally close a popup for permissions or ANR. They can dismiss them by clicking an appropriate option. --- src/helpers/AsyncDialogBox.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/helpers/AsyncDialogBox.hpp') diff --git a/src/helpers/AsyncDialogBox.hpp b/src/helpers/AsyncDialogBox.hpp index 0cb95846..4018a857 100644 --- a/src/helpers/AsyncDialogBox.hpp +++ b/src/helpers/AsyncDialogBox.hpp @@ -15,6 +15,7 @@ struct wl_event_source; class CAsyncDialogBox { public: static SP create(const std::string& title, const std::string& description, std::vector buttons); + static bool isAsyncDialogBox(pid_t pid); CAsyncDialogBox(const CAsyncDialogBox&) = delete; CAsyncDialogBox(CAsyncDialogBox&&) = delete; -- cgit v1.2.3