From 4135e34dfa61d32625ef20e8e38064b465402f4a Mon Sep 17 00:00:00 2001 From: "Anselm R. Garbe" Date: Sat, 4 Aug 2007 10:51:39 +0200 Subject: I introduced {H,V}RATIO and inc{h,v,}ratio() functions - the default behaves like in dwm-4.3, config.arg.h shows how I prefer the ratio being handled (for the future I plan to change const char *arg into ..., and renaming Client into Win.) --- dwm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dwm.h') diff --git a/dwm.h b/dwm.h index b5653b1..7f7d422 100644 --- a/dwm.h +++ b/dwm.h @@ -44,7 +44,6 @@ enum { WMProtocols, WMDelete, WMState, WMLast }; /* default atoms */ typedef struct Client Client; struct Client { char name[256]; - float scale; int x, y, w, h; int rx, ry, rw, rh; /* revert geometry */ int basew, baseh, incw, inch, maxw, maxh, minw, minh; @@ -123,7 +122,8 @@ void grabkeys(void); /* grab all keys defined in config.h */ /* layout.c */ void floating(void); /* arranges all windows floating */ void focusclient(const char *arg); /* focuses next(1)/previous(-1) visible client */ -void incratio(const char *arg); /* increments the tile ratio with arg's value */ +void inchratio(const char *arg); /* increments the horizontal tile ratio with arg's value */ +void incvratio(const char *arg); /* increments the vertical tile ratio with arg's value */ void incnmaster(const char *arg); /* increments nmaster with arg's index value */ void initlayouts(void); /* initialize layout array */ Client *nexttiled(Client *c); /* returns tiled successor of c */ -- cgit v1.2.3-13-gbd6f