Bugfix: correctly store the config path for using it for I3_CONFIG_PATH later

This commit is contained in:
Michael Stapelberg
2011-03-19 21:50:13 +01:00
parent 9344b9790c
commit 626c65b0d8
3 changed files with 7 additions and 3 deletions

View File

@ -355,7 +355,7 @@ int main(int argc, char *argv[]) {
(config.ipc_socket_path != NULL ? strlen(config.ipc_socket_path) : 0),
config.ipc_socket_path);
xcb_change_property(conn, XCB_PROP_MODE_REPLACE, root, A_I3_CONFIG_PATH, A_UTF8_STRING, 8,
strlen(saved_configpath), saved_configpath);
strlen(current_configpath), current_configpath);
keysyms = xcb_key_symbols_alloc(conn);