diff options
author | Leonardo Hernández Hernández <leohdz172@proton.me> | 2023-11-16 20:47:29 -0600 |
---|---|---|
committer | Leonardo Hernández Hernández <leohdz172@proton.me> | 2023-11-17 11:03:30 -0600 |
commit | 2212363225510d11988f5ddc49bf9454f4455fe6 (patch) | |
tree | 268a427548007cef845c8effe5bd72039c35a48d | |
parent | 6f8a3f93749aae35b863946d333043d4779d2b54 (diff) |
make sure fullscreen clients have the right size
-rw-r--r-- | dwl.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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; |