aboutsummaryrefslogtreecommitdiffstats
path: root/src/tilite.c
diff options
context:
space:
mode:
authorGravatar BanceDev 2026-02-21 11:58:05 -0500
committerGravatar BanceDev 2026-02-21 11:58:05 -0500
commit20a9d21e32996bf97559d0b748e46f86d787e210 (patch)
tree5dcc4485413425faa593803ad1e6de69f69c5572 /src/tilite.c
parentMerge remote-tracking branch 'origin/main' into personalcfg (diff)
changed personal config to brave
Diffstat (limited to 'src/tilite.c')
-rw-r--r--src/tilite.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/tilite.c b/src/tilite.c
index ad617fa..b958d8b 100644
--- a/src/tilite.c
+++ b/src/tilite.c
@@ -447,12 +447,10 @@ void focus_next(void) {
client_t *start = focused ? focused : workspaces[current_ws];
client_t *c = start;
- /* loop until we find a mapped client or return to start */
do
c = c->next ? c->next : workspaces[current_ws];
while (!c->mapped && c != start);
- /* if we return to start: */
if (!c->mapped)
return;
@@ -960,8 +958,7 @@ void hdl_map_req(XEvent *xev) {
c->fixed = True;
}
- if (should_float || global_floating)
- {
+ if (should_float || global_floating) {
c->floating = True;
bsp_remove(&bsp_roots[target_ws], c);
}