diff options
| author | Anselm R. Garbe <garbeam@gmail.com> | 2007-08-03 19:23:30 +0200 |
|---|---|---|
| committer | Anselm R. Garbe <garbeam@gmail.com> | 2007-08-03 19:23:30 +0200 |
| commit | e461e60997f83d69561ad0ca4754c299145c00b8 (patch) | |
| tree | ec6fbbe905bc3414256507ddb9c20f6e84acc028 /dwm.h | |
| parent | changed the fix of yesterday, the resize should only be necessary at manage()... (diff) | |
| download | dwm-e461e60997f83d69561ad0ca4754c299145c00b8.tar.gz dwm-e461e60997f83d69561ad0ca4754c299145c00b8.zip | |
implemented ratio tile as described on the mailinglist
Diffstat (limited to '')
| -rw-r--r-- | dwm.h | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -44,6 +44,7 @@ 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; | ||
| 47 | int x, y, w, h; | 48 | int x, y, w, h; |
| 48 | int rx, ry, rw, rh; /* revert geometry */ | 49 | int rx, ry, rw, rh; /* revert geometry */ |
| 49 | int basew, baseh, incw, inch, maxw, maxh, minw, minh; | 50 | int basew, baseh, incw, inch, maxw, maxh, minw, minh; |
| @@ -122,7 +123,7 @@ void grabkeys(void); /* grab all keys defined in config.h */ | |||
| 122 | /* layout.c */ | 123 | /* layout.c */ |
| 123 | void floating(void); /* arranges all windows floating */ | 124 | void floating(void); /* arranges all windows floating */ |
| 124 | void focusclient(const char *arg); /* focuses next(1)/previous(-1) visible client */ | 125 | void focusclient(const char *arg); /* focuses next(1)/previous(-1) visible client */ |
| 125 | void incmasterw(const char *arg); /* increments the master width with arg's index value */ | 126 | void incratio(const char *arg); /* increments the tile ratio with arg's value */ |
| 126 | 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 */ |
| 127 | void initlayouts(void); /* initialize layout array */ | 128 | void initlayouts(void); /* initialize layout array */ |
| 128 | Client *nexttiled(Client *c); /* returns tiled successor of c */ | 129 | Client *nexttiled(Client *c); /* returns tiled successor of c */ |
