diff options
| author | uint23 <abhinav.prsai@gmail.com> | 2025-04-29 20:37:46 +0100 |
|---|---|---|
| committer | uint23 <abhinav.prsai@gmail.com> | 2025-04-29 20:37:46 +0100 |
| commit | 6493a8f575925cd67f09b8a08c37927bcdc59af1 (patch) | |
| tree | a98d86c60464766fe6e15965611f304be9792195 /src | |
| parent | 2852bd9757a5e72ba6b6944589c890dbc11d5946 (diff) | |
hopefully fixed wierd firefox glitch
Diffstat (limited to 'src')
| -rw-r--r-- | src/sxwm.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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; |
