Give layout enum a name: layout_t

This commit is contained in:
Diego Ongaro
2013-05-21 21:28:13 -07:00
committed by Michael Stapelberg
parent 55a338c919
commit 96575e14a0
6 changed files with 19 additions and 14 deletions

View File

@ -1547,7 +1547,7 @@ void cmd_layout(I3_CMD, char *layout_str) {
if (strcmp(layout_str, "stacking") == 0)
layout_str = "stacked";
owindow *current;
int layout;
layout_t layout;
/* default is a special case which will be handled in con_set_layout(). */
if (strcmp(layout_str, "default") == 0)
layout = L_DEFAULT;