From d9ddaba762b5c2ae49101b6690c96d3df703bed9 Mon Sep 17 00:00:00 2001 From: Guido Cella Date: Sat, 26 Sep 2026 19:31:15 +0200 Subject: [PATCH] also make clients tiled on map While making them tiled on the first commit was needed to fix Firefox starting with rounded corners, if you don't set them tiled again on map resizing mpv after starting it with a rule that makes it floating behaves wrong. Fixes d1ebf3c. Fixes https://codeberg.org/dwl/dwl/issues/1247. --- dwl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dwl.c b/dwl.c index ca97c30..cca1ea4 100644 --- a/dwl.c +++ b/dwl.c @@ -1924,6 +1924,8 @@ mapnotify(struct wl_listener *listener, void *data) } /* Initialize client geometry with room for border */ + client_set_tiled(c, WLR_EDGE_TOP | WLR_EDGE_BOTTOM | WLR_EDGE_LEFT | + WLR_EDGE_RIGHT); c->geom.width += 2 * c->bw; c->geom.height += 2 * c->bw;