X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fcon.h;h=ec4ae3524d789f0546a7dc8dccc658dc7a0a0266;hb=96575e14a02d522b45918cffac8894b6f288c23a;hp=62eb12d0d7584255c5a93aff2000fa07b4debffb;hpb=8a4a719093f6382848f5e8d5f49b6c9b37792c25;p=i3%2Fi3 diff --git a/include/con.h b/include/con.h index 62eb12d0..ec4ae352 100644 --- a/include/con.h +++ b/include/con.h @@ -14,8 +14,13 @@ /** * Create a new container (and attach it to the given parent, if not NULL). - * This function initializes the data structures and creates the appropriate - * X11 IDs using x_con_init(). + * This function only initializes the data structures. + * + */ +Con *con_new_skeleton(Con *parent, i3Window *window); + + +/* A wrapper for con_new_skeleton, to retain the old con_new behaviour * */ Con *con_new(Con *parent, i3Window *window); @@ -270,7 +275,7 @@ void con_set_border_style(Con *con, int border_style, int border_width); * new split container before). * */ -void con_set_layout(Con *con, int layout); +void con_set_layout(Con *con, layout_t layout); /** * This function toggles the layout of a given container. toggle_mode can be