changeset: 1832:17198918382f
tag: tip
user: Kris Maglione <jg_AT_suckless.org>
date: Sat Feb 10 14:24:05 2007 -0500
summary: Make sure that c->sel is set on create_frame
diff -r dfecc331ddb1 -r 17198918382f frame.c
--- a/frame.c Sat Feb 10 14:17:33 2007 -0500
+++ b/frame.c Sat Feb 10 14:24:05 2007 -0500
@@ -18,6 +18,7 @@ create_frame(Client *c, View *v) {
f->rect = c->sel->rect;
}
else{
+ c->sel = f;
f->revert = f->rect = c->rect;
f->revert.width = f->rect.width += 2 * def.border;
f->revert.height = f->rect.height += def.border + labelh(&def.font);
Received on Sat Feb 10 2007 - 20:25:01 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:55:09 UTC