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.)
This commit is contained in:
4
dwm.h
4
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 */
|
||||
|
Reference in New Issue
Block a user