]> git.sur5r.net Git - i3/i3/commitdiff
remove proof-of-concept code in main.c
authorMichael Stapelberg <michael@stapelberg.de>
Sat, 21 Aug 2010 16:36:51 +0000 (18:36 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Sat, 21 Aug 2010 16:36:51 +0000 (18:36 +0200)
src/main.c

index 076aa277fcd6ca44a750ce10091874db04ba8317..2fe64b807df5b97d9c4c917b6e289a92d9864326 100644 (file)
@@ -293,17 +293,6 @@ int main(int argc, char *argv[]) {
         tree_init();
     tree_render();
 
-    /* proof-of-concept for assignments */
-    Con *ws = workspace_get("3");
-
-    Match *current_swallow = smalloc(sizeof(Match));
-    match_init(current_swallow);
-
-    TAILQ_INSERT_TAIL(&(ws->swallow_head), current_swallow, matches);
-
-    current_swallow->insert_where = M_ACTIVE;
-    current_swallow->class = strdup("xterm");
-
     struct ev_loop *loop = ev_loop_new(0);
     if (loop == NULL)
             die("Could not initialize libev. Bad LIBEV_FLAGS?\n");