parent
4ae93c16d5
commit
34f123cde1
1 changed files with 4 additions and 3 deletions
7
dwm.c
7
dwm.c
|
@ -369,8 +369,8 @@ static void zoom(const Arg *arg);
|
||||||
|
|
||||||
/* variables */
|
/* variables */
|
||||||
static const char broken[] = "broken";
|
static const char broken[] = "broken";
|
||||||
static char stext[4096];
|
static char stext[8192];
|
||||||
static char rawstext[4096];
|
static char rawstext[8192];
|
||||||
|
|
||||||
static int screen;
|
static int screen;
|
||||||
static int sw, sh; /* X display screen geometry width, height */
|
static int sw, sh; /* X display screen geometry width, height */
|
||||||
|
@ -2276,7 +2276,8 @@ unmanage(Client *c, int destroyed)
|
||||||
XSelectInput(dpy, c->win, NoEventMask);
|
XSelectInput(dpy, c->win, NoEventMask);
|
||||||
XConfigureWindow(dpy, c->win, CWBorderWidth, &wc); /* restore border */
|
XConfigureWindow(dpy, c->win, CWBorderWidth, &wc); /* restore border */
|
||||||
XUngrabButton(dpy, AnyButton, AnyModifier, c->win);
|
XUngrabButton(dpy, AnyButton, AnyModifier, c->win);
|
||||||
setclientstate(c, WithdrawnState);
|
if (!HIDDEN(c))
|
||||||
|
setclientstate(c, WithdrawnState);
|
||||||
XSync(dpy, False);
|
XSync(dpy, False);
|
||||||
XSetErrorHandler(xerror);
|
XSetErrorHandler(xerror);
|
||||||
XUngrabServer(dpy);
|
XUngrabServer(dpy);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue