diff options
author | Leonardo Hernández Hernández <leohdz172@protonmail.com> | 2022-06-24 14:30:52 -0500 |
---|---|---|
committer | Leonardo Hernández Hernández <leohdz172@protonmail.com> | 2022-06-24 14:30:52 -0500 |
commit | 097b4a30f5906fb45ce805115dd9dde48aefe60e (patch) | |
tree | dd5e801488e12bb9d1e13e1fc43ae579785f0197 | |
parent | c1578bc14db7822743ffdbde93b2c22b1a0b5f6a (diff) |
unconstrain layer shell popups from monitor size
unconstrain other popups from monitor usable area
-rw-r--r-- | dwl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |