diff options
author | Leonardo Hernández Hernández <leohdz172@protonmail.com> | 2022-09-08 16:35:55 -0500 |
---|---|---|
committer | Leonardo Hernández Hernández <leohdz172@protonmail.com> | 2022-09-08 16:35:55 -0500 |
commit | 9bcef3d040790b5f3064e33e149891120055a377 (patch) | |
tree | 02f82c2fc1768a78b647252c5caa4fca622db0af /dwl.c | |
parent | ae42e4390b4606527b9f98148f53ae3638d1bcea (diff) |
resize the fullscreen background when resize the client
Diffstat (limited to 'dwl.c')
-rw-r--r-- | dwl.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1780,6 +1780,8 @@ resize(Client *c, struct wlr_box geo, int interact) wlr_scene_node_set_position(&c->border[1]->node, 0, c->geom.height - c->bw); wlr_scene_node_set_position(&c->border[2]->node, 0, c->bw); wlr_scene_node_set_position(&c->border[3]->node, c->geom.width - c->bw, c->bw); + if (c->fullscreen_bg) + wlr_scene_rect_set_size(c->fullscreen_bg, c->geom.width, c->geom.height); /* wlroots makes this a no-op if size hasn't changed */ c->resize = client_set_size(c, c->geom.width - 2 * c->bw, |