-#include <stdio.h>
/*
* (C)opyright MMVI Anselm R. Garbe <garbeam at gmail dot com>
* See LICENSE file for license details.
unsigned long newmask;
Client *c;
XConfigureRequestEvent *ev = &e->xconfigurerequest;
- XEvent synev;
XWindowChanges wc;
- fputs("configurerequest\n", stderr);
if((c = getclient(ev->window))) {
c->ismax = False;
gravitate(c, True);
else
configure(c);
XSync(dpy, False);
- if(c->isfloat)
+ if(c->isfloat) {
resize(c, False, TopLeft);
+ if(!isvisible(c))
+ ban(c);
+ }
else
arrange(NULL);
}
Client *c;
XCrossingEvent *ev = &e->xcrossing;
- fputs("enternotify\n", stderr);
if(ev->mode != NotifyNormal || ev->detail == NotifyInferior)
return;
Window trans;
XPropertyEvent *ev = &e->xproperty;
- fputs("propertynotify\n", stderr);
if(ev->state == PropertyDelete)
return; /* ignore */
}
if(ev->atom == XA_WM_NAME || ev->atom == netatom[NetWMName]) {
updatetitle(c);
+ resizetitle(c);
drawtitle(c);
}
}