equal
deleted
inserted
replaced
42 enum { WMProtocols, WMDelete, WMState, WMLast }; /* default atoms */ |
42 enum { WMProtocols, WMDelete, WMState, WMLast }; /* default atoms */ |
43 |
43 |
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; |
50 int minax, maxax, minay, maxay; |
51 int minax, maxax, minay, maxay; |
51 int unmapped; |
52 int unmapped; |
120 void grabkeys(void); /* grab all keys defined in config.h */ |
121 void grabkeys(void); /* grab all keys defined in config.h */ |
121 |
122 |
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 */ |
129 void restack(void); /* restores z layers of all clients */ |
130 void restack(void); /* restores z layers of all clients */ |
130 void setlayout(const char *arg); /* sets layout, NULL means next layout */ |
131 void setlayout(const char *arg); /* sets layout, NULL means next layout */ |