aboutsummaryrefslogtreecommitdiffstats
path: root/calmwm.h
diff options
context:
space:
mode:
authorokan2011-09-03 09:42:33 +0000
committerokan2011-09-03 09:42:33 +0000
commitc3ab5d4f1316da4c6aba8acb4460121ee3e45b59 (patch)
tree418448f0e4caf5939426e4e63f92a58ec951dc9b /calmwm.h
parent41d2656d3236f0988ac500f3899c14cfec52598c (diff)
downloadcwm-c3ab5d4f1316da4c6aba8acb4460121ee3e45b59.tar.gz
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 '')
-rw-r--r--calmwm.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/calmwm.h b/calmwm.h
index 86bab28..053138e 100644
--- a/calmwm.h
+++ b/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 */