summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruint23 <[email protected]>2025-04-29 20:37:46 +0100
committeruint23 <[email protected]>2025-04-29 20:37:46 +0100
commit6493a8f575925cd67f09b8a08c37927bcdc59af1 (patch)
treea98d86c60464766fe6e15965611f304be9792195
parent2852bd9757a5e72ba6b6944589c890dbc11d5946 (diff)
hopefully fixed wierd firefox glitch
-rw-r--r--src/sxwm.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sxwm.c b/src/sxwm.c
index 7a9373b..d1aaed3 100644
--- a/src/sxwm.c
+++ b/src/sxwm.c
@@ -580,6 +580,11 @@ void hdl_map_req(XEvent *xev)
return;
}
+ if (wa.width <= 0 || wa.height <= 0) {
+ XMapWindow(dpy, cr->window);
+ return;
+ }
+
Atom type;
int format;
unsigned long nitems, bytes_after;