increase status text buffer size

This commit is contained in:
Luca Bilke 2025-04-14 15:45:15 +02:00
parent 4ae93c16d5
commit 34f123cde1
Signed by: luca
GPG key ID: F6E11C9BAA7C82F5

7
dwm.c
View file

@ -369,8 +369,8 @@ static void zoom(const Arg *arg);
/* variables */
static const char broken[] = "broken";
static char stext[4096];
static char rawstext[4096];
static char stext[8192];
static char rawstext[8192];
static int screen;
static int sw, sh; /* X display screen geometry width, height */
@ -2276,7 +2276,8 @@ unmanage(Client *c, int destroyed)
XSelectInput(dpy, c->win, NoEventMask);
XConfigureWindow(dpy, c->win, CWBorderWidth, &wc); /* restore border */
XUngrabButton(dpy, AnyButton, AnyModifier, c->win);
setclientstate(c, WithdrawnState);
if (!HIDDEN(c))
setclientstate(c, WithdrawnState);
XSync(dpy, False);
XSetErrorHandler(xerror);
XUngrabServer(dpy);