* when the user has an error in their configuration file.
*
*/
+#include "libi3.h"
+
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <xcb/randr.h>
#include <xcb/xcb_cursor.h>
-#include "libi3.h"
#include "i3-nagbar.h"
/** This is the equivalent of XC_left_ptr. I’m not sure why xcb doesn’t have a
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;