changeset: 1928:77bd3001173a
tag: tip
user: Kris Maglione <jg_AT_suckless.org>
date: Wed Feb 21 17:36:54 2007 -0500
summary: Rather, don't let windows width below labelh(&def.font).
diff -r f113f8584682 -r 77bd3001173a frame.c
--- a/frame.c Wed Feb 21 17:30:54 2007 -0500
+++ b/frame.c Wed Feb 21 17:36:54 2007 -0500
@@ -88,7 +88,7 @@ resize_frame(Frame *f, XRectangle *r) {
}else
f->collapsed = False;
- if(f->rect.width < 2 * def.border) {
+ if(f->rect.width < labelh(&def.font)) {
f->rect.width = frame_delta_h();
f->collapsed = True;
}
Received on Wed Feb 21 2007 - 23:41:20 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:55:40 UTC