changed the fix of yesterday, the resize should only be necessary at manage() time, not on any unban() 28c10330
Anselm R. Garbe · 2007-07-31 18:22 1 file(s) · +1 −1
client.c +1 −1
226 226
		c->isfloating = (rettrans == Success) || c->isfixed;
227 227
	attach(c);
228 228
	attachstack(c);
229 +
	XMoveResizeWindow(dpy, c->win, c->x, c->y, c->w, c->h); /* some windows require this */
229 230
	setclientstate(c, IconicState);
230 231
	c->isbanned = True;
231 232
	focus(c);
311 312
unban(Client *c) {
312 313
	if(!c->isbanned)
313 314
		return;
314 -
	XMoveWindow(dpy, c->win, c->x, c->y); /* some windows require this */
315 315
	XMapWindow(dpy, c->win);
316 316
	setclientstate(c, NormalState);
317 317
	c->isbanned = False;