add libi3/ipc_connect, use it in i3-config-wizard, i3-input, i3bar

This commit is contained in:
Michael Stapelberg
2011-10-23 17:18:14 +01:00
parent 4539546f48
commit 4f57d49318
9 changed files with 46 additions and 99 deletions

View File

@ -341,7 +341,7 @@ int main(int argc, char *argv[]) {
if (socket_path == NULL)
socket_path = "/tmp/i3-ipc.sock";
sockfd = connect_ipc(socket_path);
sockfd = ipc_connect(socket_path);
if (prompt != NULL)
prompt = convert_utf8_to_ucs2(prompt, &prompt_len);