From: Michael Stapelberg Date: Sat, 21 Aug 2010 16:36:51 +0000 (+0200) Subject: remove proof-of-concept code in main.c X-Git-Tag: tree-pr1~134 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4d12e18571f53f0eb80f0422d79d1044cc7ed92b;p=i3%2Fi3 remove proof-of-concept code in main.c --- diff --git a/src/main.c b/src/main.c index 076aa277..2fe64b80 100644 --- a/src/main.c +++ b/src/main.c @@ -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");