aboutsummaryrefslogtreecommitdiffstats
path: root/client.c
diff options
context:
space:
mode:
authorWynn Wolf Arbor2020-03-18 19:48:19 +0100
committerWolfgang Müller2021-04-27 12:28:35 +0200
commiteb642bf77c25b12bb61cc7dd3781c6b6c67f6873 (patch)
treede6aee36d2f3d37070ffe8aec5bca55322f9720c /client.c
parentc1f1fc7d45b9c4118fb98005aa64110a4eb6eeb4 (diff)
downloadcwm-eb642bf77c25b12bb61cc7dd3781c6b6c67f6873.tar.gz
Raise windows automatically when entering fullscreen
Diffstat (limited to 'client.c')
-rw-r--r--client.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/client.c b/client.c
index 507478b..749e4a2 100644
--- a/client.c
+++ b/client.c
@@ -318,6 +318,8 @@ client_toggle_fullscreen(struct client_ctx *cc)
cc->geom = cc->fullgeom;
cc->flags &= ~(CLIENT_FULLSCREEN | CLIENT_FREEZE);
goto resize;
+ } else {
+ client_raise(cc);
}
cc->fullgeom = cc->geom;