Remove redundant depth argument from x_con_init(). (#2323)

This commit is contained in:
Ingo Bürk
2016-05-05 14:18:27 +02:00
committed by Michael Stapelberg
parent 152318bccf
commit b2397c9f01
4 changed files with 6 additions and 6 deletions

View File

@ -68,7 +68,7 @@ Con *con_new_skeleton(Con *parent, i3Window *window) {
*/
Con *con_new(Con *parent, i3Window *window) {
Con *new = con_new_skeleton(parent, window);
x_con_init(new, new->depth);
x_con_init(new);
return new;
}