diff options
author | Anselm R. Garbe <garbeam@gmail.com> | 2007-08-04 10:51:39 +0200 |
---|---|---|
committer | Anselm R. Garbe <garbeam@gmail.com> | 2007-08-04 10:51:39 +0200 |
commit | 4135e34dfa61d32625ef20e8e38064b465402f4a (patch) | |
tree | beb8cfbcb846eb3a6a3172567ca70a67866d934f /dwm.h | |
parent | 846128a498759bfcbf363fc014e50c1bf48bdf0c (diff) | |
download | dwm-4135e34dfa61d32625ef20e8e38064b465402f4a.tar.gz |
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.)
Diffstat (limited to 'dwm.h')
-rw-r--r-- | dwm.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 */ |