X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=i3-msg%2Fmain.c;h=ccf6e10f276a54ce8d2716b593db7d9895890442;hb=cc2fda92422e29a61c929ffde8d3199305b89946;hp=e16f694355900ace0805ce1c2fe794c3d4db4b4a;hpb=db174234ce41c3ac317ef25d5fff323540295e9a;p=i3%2Fi3 diff --git a/i3-msg/main.c b/i3-msg/main.c index e16f6943..ccf6e10f 100644 --- a/i3-msg/main.c +++ b/i3-msg/main.c @@ -73,11 +73,9 @@ int main(int argc, char *argv[]) { message_type = I3_IPC_MESSAGE_TYPE_GET_MARKS; else if (strcasecmp(optarg, "get_bar_config") == 0) message_type = I3_IPC_MESSAGE_TYPE_GET_BAR_CONFIG; - else if (strcasecmp(optarg, "get_log_markers") == 0) - message_type = I3_IPC_MESSAGE_TYPE_GET_LOG_MARKERS; else { printf("Unknown message type\n"); - printf("Known types: command, get_workspaces, get_outputs, get_tree, get_marks, get_bar_config, get_log_markers\n"); + printf("Known types: command, get_workspaces, get_outputs, get_tree, get_marks, get_bar_config\n"); exit(EXIT_FAILURE); } } else if (o == 'q') { @@ -93,7 +91,7 @@ int main(int argc, char *argv[]) { } if (socket_path == NULL) - socket_path = socket_path_from_x11(); + socket_path = root_atom_contents("I3_SOCKET_PATH"); /* Fall back to the default socket path */ if (socket_path == NULL)