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 | removed a C++ style comment (diff) | |
| download | dwm-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.h | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -44,7 +44,6 @@ enum { WMProtocols, WMDelete, WMState, WMLast }; /* default atoms */ | |||
| 44 | typedef struct Client Client; | 44 | typedef struct Client Client; |
| 45 | struct Client { | 45 | struct 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 */ |
| 124 | void floating(void); /* arranges all windows floating */ | 123 | void floating(void); /* arranges all windows floating */ |
| 125 | void focusclient(const char *arg); /* focuses next(1)/previous(-1) visible client */ | 124 | void focusclient(const char *arg); /* focuses next(1)/previous(-1) visible client */ |
| 126 | void incratio(const char *arg); /* increments the tile ratio with arg's value */ | 125 | void inchratio(const char *arg); /* increments the horizontal tile ratio with arg's value */ |
| 126 | void incvratio(const char *arg); /* increments the vertical tile ratio with arg's value */ | ||
| 127 | void incnmaster(const char *arg); /* increments nmaster with arg's index value */ | 127 | void incnmaster(const char *arg); /* increments nmaster with arg's index value */ |
| 128 | void initlayouts(void); /* initialize layout array */ | 128 | void initlayouts(void); /* initialize layout array */ |
| 129 | Client *nexttiled(Client *c); /* returns tiled successor of c */ | 129 | Client *nexttiled(Client *c); /* returns tiled successor of c */ |
