6b4c61c671
OK jasper@
18 lines
676 B
Plaintext
18 lines
676 B
Plaintext
$OpenBSD: patch-src_x_c,v 1.5 2012/05/09 11:56:49 dcoppa Exp $
|
|
|
|
OpenBSD lacks POSIX shared memory support (shm_open() and friends)
|
|
|
|
--- src/x.c.orig Wed Apr 25 23:21:25 2012
|
|
+++ src/x.c Wed May 9 12:27:20 2012
|
|
@@ -1019,8 +1019,10 @@ void x_set_i3_atoms(void) {
|
|
current_socketpath);
|
|
xcb_change_property(conn, XCB_PROP_MODE_REPLACE, root, A_I3_CONFIG_PATH, A_UTF8_STRING, 8,
|
|
strlen(current_configpath), current_configpath);
|
|
+#if !defined(__OpenBSD__)
|
|
xcb_change_property(conn, XCB_PROP_MODE_REPLACE, root, A_I3_SHMLOG_PATH, A_UTF8_STRING, 8,
|
|
strlen(shmlogname), shmlogname);
|
|
+#endif
|
|
}
|
|
|
|
/*
|