diff options
| author | Vaxry <vaxry@vaxry.net> | 2025-04-29 18:20:06 +0100 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2025-04-29 18:20:06 +0100 |
| commit | 465e3d979d72da90ea4f715393a0d6d3098830b1 (patch) | |
| tree | 6a079cb909199bd5e91520918a4eae9f6e005298 /src/helpers/AsyncDialogBox.hpp | |
| parent | b10a43dabc0d65a03a3a169ff292f0f18d9c6640 (diff) | |
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.
Diffstat (limited to 'src/helpers/AsyncDialogBox.hpp')
| -rw-r--r-- | src/helpers/AsyncDialogBox.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
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<CAsyncDialogBox> create(const std::string& title, const std::string& description, std::vector<std::string> buttons); + static bool isAsyncDialogBox(pid_t pid); CAsyncDialogBox(const CAsyncDialogBox&) = delete; CAsyncDialogBox(CAsyncDialogBox&&) = delete; |
