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

@ -158,7 +158,7 @@ static void handle_enter_notify(xcb_enter_notify_event_t *event) {
}
/* see if the user entered the window on a certain window decoration */
int layout = (enter_child ? con->parent->layout : con->layout);
layout_t layout = (enter_child ? con->parent->layout : con->layout);
if (layout == L_DEFAULT) {
Con *child;
TAILQ_FOREACH(child, &(con->nodes_head), nodes)