From: Helgi Kristvin Sigurbjarnarson Date: Sun, 7 Aug 2011 17:03:10 +0000 (+0000) Subject: Add support for get_marks in i3-msg X-Git-Tag: 4.1~230^2~3 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=96ed68de160f902e183b89a5075b4506b7716966;p=i3%2Fi3 Add support for get_marks in i3-msg --- diff --git a/i3-msg/main.c b/i3-msg/main.c index 630a345d..d8195e08 100644 --- a/i3-msg/main.c +++ b/i3-msg/main.c @@ -180,9 +180,11 @@ int main(int argc, char *argv[]) { message_type = I3_IPC_MESSAGE_TYPE_GET_OUTPUTS; else if (strcasecmp(optarg, "get_tree") == 0) message_type = I3_IPC_MESSAGE_TYPE_GET_TREE; + else if (strcasecmp(optarg, "get_marks") == 0) + message_type = I3_IPC_MESSAGE_TYPE_GET_MARKS; else { printf("Unknown message type\n"); - printf("Known types: command, get_workspaces, get_outputs, get_tree\n"); + printf("Known types: command, get_workspaces, get_outputs, get_tree, get_marks\n"); exit(EXIT_FAILURE); } } else if (o == 'q') {