font = load_font(pattern, true);
set_font(&font);
+#if defined(__OpenBSD__)
+ if (pledge("stdio rpath wpath cpath getpw proc exec", NULL) == -1)
+ err(EXIT_FAILURE, "pledge");
+#endif
+
xcb_rectangle_t win_pos = get_window_position();
xcb_cursor_t cursor;