Mercurial > aewl
comparison client.c @ 283:134804791d73
added some flicker prevention
author | Anselm R.Garbe <arg@10ksloc.org> |
---|---|
date | Mon, 14 Aug 2006 16:37:55 +0200 |
parents | be40a56df248 |
children | ff501d94de62 |
comparison
equal
deleted
inserted
replaced
282:74d00f634ee2 | 283:134804791d73 |
---|---|
260 c->isfloat = trans | 260 c->isfloat = trans |
261 || (c->maxw && c->minw && | 261 || (c->maxw && c->minw && |
262 c->maxw == c->minw && c->maxh == c->minh); | 262 c->maxw == c->minw && c->maxh == c->minh); |
263 settitle(c); | 263 settitle(c); |
264 | 264 |
265 if(isvisible(c)) | |
266 sel = c; | |
267 arrange(NULL); | |
265 XMapWindow(dpy, c->win); | 268 XMapWindow(dpy, c->win); |
266 XMapWindow(dpy, c->title); | 269 XMapWindow(dpy, c->title); |
267 if(isvisible(c)) | 270 if(isvisible(c)) |
268 focus(c); | 271 focus(c); |
269 arrange(NULL); | |
270 } | 272 } |
271 | 273 |
272 void | 274 void |
273 resize(Client *c, Bool sizehints, Corner sticky) | 275 resize(Client *c, Bool sizehints, Corner sticky) |
274 { | 276 { |