diff options
| author | 0undefined <oscar@nelin.dk> | 2025-04-08 08:38:17 +0000 |
|---|---|---|
| committer | 0undefined <oscar@nelin.dk> | 2025-04-08 08:38:17 +0000 |
| commit | 81785a42c6f36acc38463134d275476ccdcdd2ad (patch) | |
| tree | 20cbdb7f0fa7c3d3dd29be29302341efae9a7851 | |
| parent | 37e30a171ce29d4086b8472ef45d9403828252aa (diff) | |
| parent | 4456f4536a483c127909151a84d7b62da4f40e8b (diff) | |
Merge remote-tracking branch 'upstream/main'
| -rw-r--r-- | dwl.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -676,6 +676,9 @@ arrangelayer(Monitor *m, struct wl_list *list, struct wlr_box *usable_area, int wl_list_for_each(l, list, link) { struct wlr_layer_surface_v1 *layer_surface = l->layer_surface; + if (!layer_surface->initialized) + continue; + if (exclusive != (layer_surface->current.exclusive_zone > 0)) continue; @@ -4096,7 +4099,7 @@ sethints(struct wl_listener *listener, void *data) { Client *c = wl_container_of(listener, c, set_hints); struct wlr_surface *surface = client_surface(c); - if (c == focustop(selmon)) + if (c == focustop(selmon) || !c->surface.xwayland->hints) return; c->isurgent = xcb_icccm_wm_hints_get_urgency(c->surface.xwayland->hints); |
