]> git.sur5r.net Git - i3/i3/blobdiff - src/assignments.c
Rip out the old command parser, remove migration code
[i3/i3] / src / assignments.c
index 9ef84707f13da20d53b72bc96cbf9b525170735a..05da75546a39636f1939682f9d4a005b792d5bb1 100644 (file)
@@ -2,7 +2,7 @@
  * vim:ts=4:sw=4:expandtab
  *
  * i3 - an improved dynamic tiling window manager
- * © 2009-2011 Michael Stapelberg and contributors (see also: LICENSE)
+ * © 2009-2012 Michael Stapelberg and contributors (see also: LICENSE)
  *
  * assignments.c: Assignments for specific windows (for_window).
  *
@@ -41,7 +41,7 @@ void run_assignments(i3Window *window) {
             DLOG("execute command %s\n", current->dest.command);
             char *full_command;
             sasprintf(&full_command, "[id=\"%d\"] %s", window->id, current->dest.command);
-            char *json_result = parse_cmd(full_command);
+            char *json_result = parse_command(full_command);
             FREE(full_command);
             FREE(json_result);
         }