From: Michael Stapelberg Date: Tue, 22 Dec 2009 22:43:05 +0000 (+0100) Subject: retab! src/container.c X-Git-Tag: 3.e~6^2~187 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3e53ecf69e265f58e162d80f542db6fe75869cec;p=i3%2Fi3 retab! src/container.c --- diff --git a/src/container.c b/src/container.c index a51c7235..8533fd49 100644 --- a/src/container.c +++ b/src/container.c @@ -21,23 +21,23 @@ * */ int container_mode(Container *con, bool for_frame) { - int num_clients = 0; - Client *client; + int num_clients = 0; + Client *client; - if (con == NULL || con->mode == MODE_DEFAULT) - return MODE_DEFAULT; + if (con == NULL || con->mode == MODE_DEFAULT) + return MODE_DEFAULT; if (!for_frame) return con->mode; - CIRCLEQ_FOREACH(client, &(con->clients), clients) - num_clients++; + CIRCLEQ_FOREACH(client, &(con->clients), clients) + num_clients++; - /* If the container contains only one client, mode is irrelevant */ - if (num_clients == 1) { - DLOG("mode to default\n"); - return MODE_DEFAULT; - } + /* If the container contains only one client, mode is irrelevant */ + if (num_clients == 1) { + DLOG("mode to default\n"); + return MODE_DEFAULT; + } - return con->mode; + return con->mode; }