diff options
author | Okan Demirmen <okan@cvs.openbsd.org> | 2011-09-03 09:42:34 +0000 |
---|---|---|
committer | Okan Demirmen <okan@cvs.openbsd.org> | 2011-09-03 09:42:34 +0000 |
commit | 9f77d95e5c03e4dda93084beb921fd19fd1ade3c (patch) | |
tree | 15b11419428a2509d76f36c14a4fbf531b480d9c /app/cwm/calmwm.h | |
parent | 3645ed6b0b9bc116b8ceb484ac5d6910ca0667d5 (diff) |
split off window hints from geometry so we don't need to carry them all
around when dealing with {,h,v}max. same idea from oga.
Diffstat (limited to 'app/cwm/calmwm.h')
-rw-r--r-- | app/cwm/calmwm.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/app/cwm/calmwm.h b/app/cwm/calmwm.h index 86bab2802..053138ed7 100644 --- a/app/cwm/calmwm.h +++ b/app/cwm/calmwm.h @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: calmwm.h,v 1.138 2011/09/03 09:25:39 okan Exp $ + * $OpenBSD: calmwm.h,v 1.139 2011/09/03 09:42:33 okan Exp $ */ #ifndef _CALMWM_H_ @@ -121,6 +121,8 @@ struct client_ctx { int y; /* y position */ int width; /* width */ int height;/* height */ + } geom, savegeom; + struct { int basew; /* desired width */ int baseh; /* desired height */ int minw; /* minimum width */ @@ -131,7 +133,7 @@ struct client_ctx { int inch; /* height increment progression */ float mina; /* minimum aspect ratio */ float maxa; /* maximum aspect ratio */ - } geom, savegeom; + } hint; struct { int x; /* x position */ int y; /* y position */ |