more reformatting

This commit is contained in:
Michael Stapelberg
2010-04-13 16:48:42 +02:00
parent 4206db2839
commit bcfb0d2505
2 changed files with 133 additions and 141 deletions

View File

@ -1,22 +1,16 @@
/* /*
* vim:ts=8:expandtab * vim:ts=4:sw=4:expandtab
* *
* i3 - an improved dynamic tiling window manager * i3 - an improved dynamic tiling window manager
* © 2009-2010 Michael Stapelberg and contributors (see also: LICENSE)
* *
* © 2009-2010 Michael Stapelberg and contributors * manage.c: Contains all functions for initially managing new windows
*
* See file LICENSE for license information.
*
* src/manage.c: Contains all functions for initially managing new windows
* (or existing ones on restart). * (or existing ones on restart).
* *
*/ */
#include "all.h" #include "all.h"
extern struct Con *focused;
/* /*
* Go through all existing windows (if the window manager is restarted) and manage them * Go through all existing windows (if the window manager is restarted) and manage them
* *
@ -160,9 +154,7 @@ void manage_window(xcb_window_t window, xcb_get_window_attributes_cookie_t cooki
/* TODO: make a difference between match-once containers (directly assign /* TODO: make a difference between match-once containers (directly assign
* cwindow) and match-multiple (tree_open_con first) */ * cwindow) and match-multiple (tree_open_con first) */
nc = tree_open_con(nc->parent); nc = tree_open_con(nc->parent);
} }
} }
nc->window = cwindow; nc->window = cwindow;