diff options
author | Squibid <me@zacharyscheiman.com> | 2025-03-23 20:51:27 -0500 |
---|---|---|
committer | Squibid <me@zacharyscheiman.com> | 2025-03-23 20:51:27 -0500 |
commit | 1bc098176209069ef46a5d6cbd9eacea1fb8f617 (patch) | |
tree | efe58da82044e639b6c9ccfb0cd5a50327868141 | |
parent | f5638eff2c7c23fd3bb7752ad2617f0a423858dd (diff) | |
parent | 4456f4536a483c127909151a84d7b62da4f40e8b (diff) | |
download | dwl-1bc098176209069ef46a5d6cbd9eacea1fb8f617.tar.gz dwl-1bc098176209069ef46a5d6cbd9eacea1fb8f617.tar.bz2 dwl-1bc098176209069ef46a5d6cbd9eacea1fb8f617.zip |
Merge branch 'main' into custom
-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; @@ -4006,7 +4009,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); |