aboutsummaryrefslogtreecommitdiff
path: root/xwinwrap.c
diff options
context:
space:
mode:
Diffstat (limited to 'xwinwrap.c')
-rw-r--r--xwinwrap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xwinwrap.c b/xwinwrap.c
index 32734ca..81e9527 100644
--- a/xwinwrap.c
+++ b/xwinwrap.c
@@ -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;