dwl

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

commit f83f1049db1175c65fb7685d26e301f96224d86b
parent d1ff1e6f75d9c53c953957b5c0a64e0bcb40008b
Author: Sevz <leohdz172@protonmail.com>
Date:   Thu, 10 Mar 2022 10:16:49 -0600

Merge pull request #149 from xi/fix-grabc-unmap

reset cursor mode when grabc is unmapped
Diffstat:
Mdwl.c | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/dwl.c b/dwl.c @@ -2280,6 +2280,10 @@ unmapnotify(struct wl_listener *listener, void *data) { /* Called when the surface is unmapped, and should no longer be shown. */ Client *c = wl_container_of(listener, c, unmap); + if (c == grabc) { + cursor_mode = CurNormal; + grabc = NULL; + } wl_list_remove(&c->link); if (client_is_unmanaged(c)) return;