From 2212363225510d11988f5ddc49bf9454f4455fe6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Hern=C3=A1ndez=20Hern=C3=A1ndez?= Date: Thu, 16 Nov 2023 20:47:29 -0600 Subject: [PATCH] make sure fullscreen clients have the right size --- dwl.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dwl.c b/dwl.c index e6d7914..eca0860 100644 --- a/dwl.c +++ b/dwl.c @@ -2604,6 +2604,9 @@ updatemons(struct wl_listener *listener, void *data) arrangelayers(m); /* Don't move clients to the left output when plugging monitors */ arrange(m); + /* make sure fullscreen clients have the right size */ + if ((c = focustop(m)) && c->isfullscreen) + resize(c, m->m, 0); config_head->state.enabled = 1; config_head->state.mode = m->wlr_output->current_mode;