dwl

My patch set and modifications to dwl
git clone git://git.ethandl.dev/dwl
Log | Files | Refs | README | LICENSE

commit aea8dd6ae122bdc99e104afe019479d45755f239
parent c1d8b77f7fb4f082b7eb43474a788e9b5fe04e29
Author: Leonardo Hernández Hernández <leohdz172@proton.me>
Date:   Sun,  3 Sep 2023 11:44:30 -0600

return early if the client doesn't have monitor in setfloating

there is still a bug, but for now this prevents a segfault

Bug: https://github.com/djpohly/dwl/issues/472

Diffstat:
Mdwl.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/dwl.c b/dwl.c @@ -2026,6 +2026,8 @@ void setfloating(Client *c, int floating) { c->isfloating = floating; + if (!c->mon) + return; wlr_scene_node_reparent(&c->scene->node, layers[c->isfloating ? LyrFloat : LyrTile]); arrange(c->mon); printstatus();