dwl

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

commit 097b4a30f5906fb45ce805115dd9dde48aefe60e
parent c1578bc14db7822743ffdbde93b2c22b1a0b5f6a
Author: Leonardo Hernández Hernández <leohdz172@protonmail.com>
Date:   Fri, 24 Jun 2022 14:30:52 -0500

unconstrain layer shell popups from monitor size

unconstrain other popups from monitor usable area

Diffstat:
Mdwl.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dwl.c b/dwl.c @@ -956,7 +956,7 @@ createnotify(struct wl_listener *listener, void *data) xdg_surface->popup->parent->data, xdg_surface); if (!(c = toplevel_from_popup(xdg_surface->popup)) || !c->mon) return; - box = c->mon->w; + box = c->type == LayerShell ? c->mon->m : c->mon->w; box.x -= c->geom.x; box.y -= c->geom.y; wlr_xdg_popup_unconstrain_from_box(xdg_surface->popup, &box);