summaryrefslogtreecommitdiff
path: root/MenuApplets/Clock/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'MenuApplets/Clock/main.cpp')
-rw-r--r--MenuApplets/Clock/main.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/MenuApplets/Clock/main.cpp b/MenuApplets/Clock/main.cpp
index 98a170ac4e..200f230cb7 100644
--- a/MenuApplets/Clock/main.cpp
+++ b/MenuApplets/Clock/main.cpp
@@ -111,5 +111,12 @@ int main(int argc, char** argv)
window->set_main_widget(widget);
window->show();
+ if (unveil("/res", "r") < 0) {
+ perror("unveil");
+ return 1;
+ }
+
+ unveil(nullptr, nullptr);
+
return app.exec();
}