summaryrefslogtreecommitdiffstats
path: root/dwm.h
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@gmail.com>2007-08-04 10:51:39 +0200
committerAnselm R. Garbe <garbeam@gmail.com>2007-08-04 10:51:39 +0200
commit4135e34dfa61d32625ef20e8e38064b465402f4a (patch)
treebeb8cfbcb846eb3a6a3172567ca70a67866d934f /dwm.h
parentremoved a C++ style comment (diff)
downloaddwm-4135e34dfa61d32625ef20e8e38064b465402f4a.tar.gz
dwm-4135e34dfa61d32625ef20e8e38064b465402f4a.zip
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.h4
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 */
44typedef struct Client Client; 44typedef struct Client Client;
45struct Client { 45struct Client {
46 char name[256]; 46 char name[256];
47 float scale;
48 int x, y, w, h; 47 int x, y, w, h;
49 int rx, ry, rw, rh; /* revert geometry */ 48 int rx, ry, rw, rh; /* revert geometry */
50 int basew, baseh, incw, inch, maxw, maxh, minw, minh; 49 int basew, baseh, incw, inch, maxw, maxh, minw, minh;
@@ -123,7 +122,8 @@ void grabkeys(void); /* grab all keys defined in config.h */
123/* layout.c */ 122/* layout.c */
124void floating(void); /* arranges all windows floating */ 123void floating(void); /* arranges all windows floating */
125void focusclient(const char *arg); /* focuses next(1)/previous(-1) visible client */ 124void focusclient(const char *arg); /* focuses next(1)/previous(-1) visible client */
126void incratio(const char *arg); /* increments the tile ratio with arg's value */ 125void inchratio(const char *arg); /* increments the horizontal tile ratio with arg's value */
126void incvratio(const char *arg); /* increments the vertical tile ratio with arg's value */
127void incnmaster(const char *arg); /* increments nmaster with arg's index value */ 127void incnmaster(const char *arg); /* increments nmaster with arg's index value */
128void initlayouts(void); /* initialize layout array */ 128void initlayouts(void); /* initialize layout array */
129Client *nexttiled(Client *c); /* returns tiled successor of c */ 129Client *nexttiled(Client *c); /* returns tiled successor of c */