]> git.sur5r.net Git - i3/i3/blobdiff - src/x.c
shmlog: store meta information in the buffer itself, store path as X11 atom
[i3/i3] / src / x.c
diff --git a/src/x.c b/src/x.c
index 6c5a11ecaf9cd22fd7e73284fa8d21c769a1f19d..e5853fb50e342b0a1483945001c1768154f219c1 100644 (file)
--- a/src/x.c
+++ b/src/x.c
@@ -928,6 +928,8 @@ void x_set_i3_atoms() {
                         current_socketpath);
     xcb_change_property(conn, XCB_PROP_MODE_REPLACE, root, A_I3_CONFIG_PATH, A_UTF8_STRING, 8,
                         strlen(current_configpath), current_configpath);
+    xcb_change_property(conn, XCB_PROP_MODE_REPLACE, root, A_I3_SHMLOG_PATH, A_UTF8_STRING, 8,
+                        strlen(shmlogname), shmlogname);
 }
 
 /*