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.
This commit is contained in:
parent
b10a43dabc
commit
465e3d979d
3 changed files with 16 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue