]> git.sur5r.net Git - i3/i3/blobdiff - src/handlers.c
Give layout enum a name: layout_t
[i3/i3] / src / handlers.c
index f4782ca97dffece262160c27d956d43ba9ea0add..fdc75abe604098816d16b8e36a77815d908e50f1 100644 (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)