diff options
| author | ProsperousPotato <ProsperousPotato@users.noreply.github.com> | 2025-07-28 19:44:20 +0100 |
|---|---|---|
| committer | ProsperousPotato <ProsperousPotato@users.noreply.github.com> | 2025-07-28 19:44:20 +0100 |
| commit | 27b589b14bfec5008b2b7b7ec0df0056024099c8 (patch) | |
| tree | 86945efbc6a0cd7b0795c12a13e4a427e0a552d2 | |
| parent | 54d1c95b31af912939d711821c56c70ae82fa214 (diff) | |
ifdef pledge()
| -rw-r--r-- | xwinwrap.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -331,8 +331,10 @@ int main(int argc, char **argv) { bool skip_pager = false; bool daemonize = false; +#ifdef __OpenBSD__ if (pledge("stdio unix proc exec inet rpath", NULL) == -1) fprintf(stderr, "pledge\n"); +#endif win_shape shape = SHAPE_RECT; Pixmap mask; |
