48 int rx, ry, rw, rh; /* revert geometry */ |
48 int rx, ry, rw, rh; /* revert geometry */ |
49 int basew, baseh, incw, inch, maxw, maxh, minw, minh; |
49 int basew, baseh, incw, inch, maxw, maxh, minw, minh; |
50 int minax, minay, maxax, maxay; |
50 int minax, minay, maxax, maxay; |
51 long flags; |
51 long flags; |
52 unsigned int border; |
52 unsigned int border; |
53 Bool isbanned, isfixed, ismax, isuntiled; |
53 Bool isbanned, isfixed, ismax, isfloating; |
54 Bool *tags; |
54 Bool *tags; |
55 Client *next; |
55 Client *next; |
56 Client *prev; |
56 Client *prev; |
57 Client *snext; |
57 Client *snext; |
58 Window win; |
58 Window win; |
101 extern void focus(Client *c); /* focus c, c may be NULL */ |
101 extern void focus(Client *c); /* focus c, c may be NULL */ |
102 extern void killclient(const char *arg); /* kill c nicely */ |
102 extern void killclient(const char *arg); /* kill c nicely */ |
103 extern void manage(Window w, XWindowAttributes *wa); /* manage new client */ |
103 extern void manage(Window w, XWindowAttributes *wa); /* manage new client */ |
104 extern void resize(Client *c, int x, int y, |
104 extern void resize(Client *c, int x, int y, |
105 int w, int h, Bool sizehints); /* resize with given coordinates c*/ |
105 int w, int h, Bool sizehints); /* resize with given coordinates c*/ |
106 extern void toggletiled(const char *arg); /* toggles focused client between tiled/untiled state */ |
106 extern void togglefloating(const char *arg); /* toggles focused client between floating/tiled state */ |
107 extern void updatesizehints(Client *c); /* update the size hint variables of c */ |
107 extern void updatesizehints(Client *c); /* update the size hint variables of c */ |
108 extern void updatetitle(Client *c); /* update the name of c */ |
108 extern void updatetitle(Client *c); /* update the name of c */ |
109 extern void unmanage(Client *c); /* destroy c */ |
109 extern void unmanage(Client *c); /* destroy c */ |
110 |
110 |
111 /* draw.c */ |
111 /* draw.c */ |
115 |
115 |
116 /* event.c */ |
116 /* event.c */ |
117 extern void grabkeys(void); /* grab all keys defined in config.h */ |
117 extern void grabkeys(void); /* grab all keys defined in config.h */ |
118 |
118 |
119 /* layout.c */ |
119 /* layout.c */ |
|
120 extern void floating(void); /* arranges all windows floating */ |
120 extern void focusclient(const char *arg); /* focuses next(1)/previous(-1) visible client */ |
121 extern void focusclient(const char *arg); /* focuses next(1)/previous(-1) visible client */ |
121 extern void incmasterw(const char *arg); /* increments the master width with arg's index value */ |
122 extern void incmasterw(const char *arg); /* increments the master width with arg's index value */ |
122 extern void incnmaster(const char *arg); /* increments nmaster with arg's index value */ |
123 extern void incnmaster(const char *arg); /* increments nmaster with arg's index value */ |
123 extern void initlayouts(void); /* initialize layout array */ |
124 extern void initlayouts(void); /* initialize layout array */ |
124 extern Client *nexttiled(Client *c); /* returns tiled successor of c */ |
125 extern Client *nexttiled(Client *c); /* returns tiled successor of c */ |
125 extern void restack(void); /* restores z layers of all clients */ |
126 extern void restack(void); /* restores z layers of all clients */ |
126 extern void setlayout(const char *arg); /* sets layout, -1 toggles */ |
127 extern void setlayout(const char *arg); /* sets layout, -1 toggles */ |
127 extern void togglemax(const char *arg); /* toggles maximization of untiled client */ |
128 extern void togglemax(const char *arg); /* toggles maximization of floating client */ |
128 extern void untile(void); /* arranges all windows untiled */ |
|
129 extern void zoom(const char *arg); /* zooms the focused client to master area, arg is ignored */ |
129 extern void zoom(const char *arg); /* zooms the focused client to master area, arg is ignored */ |
130 |
130 |
131 /* main.c */ |
131 /* main.c */ |
132 extern void quit(const char *arg); /* quit dwm nicely */ |
132 extern void quit(const char *arg); /* quit dwm nicely */ |
133 extern void sendevent(Window w, Atom a, long value); /* send synthetic event to w */ |
133 extern void sendevent(Window w, Atom a, long value); /* send synthetic event to w */ |