aboutsummaryrefslogtreecommitdiffstats
path: root/calmwm.h
diff options
context:
space:
mode:
authorokan2009-08-24 23:49:04 +0000
committerokan2009-08-24 23:49:04 +0000
commit796a52c20656342eabaf923d6141d83883689d15 (patch)
tree95561d6d722104057243d99690fafec235e5ac3e /calmwm.h
parentc460e9758e8fcb33b958beca85d70b67857758d4 (diff)
downloadcwm-796a52c20656342eabaf923d6141d83883689d15.tar.gz
bring together gathering, calculating and applying of size hints;
additionally, respect aspect ratio hints. ok oga@
Diffstat (limited to '')
-rw-r--r--calmwm.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/calmwm.h b/calmwm.h
index d2dbd4a..b908622 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.
*
- * $Id: calmwm.h,v 1.95 2009/08/24 21:22:48 oga Exp $
+ * $Id: calmwm.h,v 1.96 2009/08/24 23:49:04 okan Exp $
*/
#ifndef _CALMWM_H_
@@ -121,8 +121,9 @@ struct client_ctx {
u_int bwidth;
struct {
- int x, y, width, height;
- int min_dx, min_dy;
+ int x, y, width, height, basew, baseh,
+ minw, minh, maxw, maxh, incw, inch;
+ float mina, maxa;
} geom, savegeom;
struct {
@@ -349,6 +350,8 @@ void client_vertmaximize(struct client_ctx *);
void client_map(struct client_ctx *);
void client_mtf(struct client_ctx *);
struct client_ctx *client_cycle(int);
+void client_getsizehints(struct client_ctx *);
+void client_applysizehints(struct client_ctx *);
struct menu *menu_filter(struct menu_q *, char *, char *, int,
void (*)(struct menu_q *, struct menu_q *, char *),