103 extern Window root, barwin; |
103 extern Window root, barwin; |
104 |
104 |
105 /* client.c */ |
105 /* client.c */ |
106 extern void configure(Client *c); /* send synthetic configure event */ |
106 extern void configure(Client *c); /* send synthetic configure event */ |
107 extern void focus(Client *c); /* focus c, c may be NULL */ |
107 extern void focus(Client *c); /* focus c, c may be NULL */ |
108 extern void focusnext(Arg *arg); /* focuses next visible client, arg is ignored */ |
|
109 extern void focusprev(Arg *arg); /* focuses previous visible client, arg is ignored */ |
|
110 extern void killclient(Arg *arg); /* kill c nicely */ |
108 extern void killclient(Arg *arg); /* kill c nicely */ |
111 extern void manage(Window w, XWindowAttributes *wa); /* manage new client */ |
109 extern void manage(Window w, XWindowAttributes *wa); /* manage new client */ |
112 extern Client *nexttiled(Client *c); /* returns tiled successor of c */ |
|
113 extern void resize(Client *c, int x, int y, |
110 extern void resize(Client *c, int x, int y, |
114 int w, int h, Bool sizehints); /* resize with given coordinates c*/ |
111 int w, int h, Bool sizehints); /* resize with given coordinates c*/ |
|
112 extern void toggleversatile(Arg *arg); /* toggles focused client between versatile/and non-versatile state */ |
115 extern void updatesizehints(Client *c); /* update the size hint variables of c */ |
113 extern void updatesizehints(Client *c); /* update the size hint variables of c */ |
116 extern void updatetitle(Client *c); /* update the name of c */ |
114 extern void updatetitle(Client *c); /* update the name of c */ |
117 extern void unmanage(Client *c); /* destroy c */ |
115 extern void unmanage(Client *c); /* destroy c */ |
118 extern void zoom(Arg *arg); /* zooms the focused client to master area, arg is ignored */ |
116 extern void zoom(Arg *arg); /* zooms the focused client to master area, arg is ignored */ |
119 |
117 |
125 |
123 |
126 /* event.c */ |
124 /* event.c */ |
127 extern void grabkeys(void); /* grab all keys defined in config.h */ |
125 extern void grabkeys(void); /* grab all keys defined in config.h */ |
128 |
126 |
129 /* layout.c */ |
127 /* layout.c */ |
|
128 extern void focusnext(Arg *arg); /* focuses next visible client, arg is ignored */ |
|
129 extern void focusprev(Arg *arg); /* focuses previous visible client, arg is ignored */ |
130 extern void incnmaster(Arg *arg); /* increments nmaster with arg's index value */ |
130 extern void incnmaster(Arg *arg); /* increments nmaster with arg's index value */ |
131 extern void initlayouts(void); /* initialize layout array */ |
131 extern void initlayouts(void); /* initialize layout array */ |
|
132 extern Client *nexttiled(Client *c); /* returns tiled successor of c */ |
132 extern void resizemaster(Arg *arg); /* resizes the master percent with arg's index value */ |
133 extern void resizemaster(Arg *arg); /* resizes the master percent with arg's index value */ |
133 extern void restack(void); /* restores z layers of all clients */ |
134 extern void restack(void); /* restores z layers of all clients */ |
134 extern void setlayout(Arg *arg); /* sets layout, -1 toggles */ |
135 extern void setlayout(Arg *arg); /* sets layout, -1 toggles */ |
135 extern void toggleversatile(Arg *arg); /* toggles focusesd client between versatile/and non-versatile state */ |
|
136 extern void versatile(void); /* arranges all windows versatile */ |
136 extern void versatile(void); /* arranges all windows versatile */ |
137 |
137 |
138 /* main.c */ |
138 /* main.c */ |
139 extern void quit(Arg *arg); /* quit dwm nicely */ |
139 extern void quit(Arg *arg); /* quit dwm nicely */ |
140 extern void sendevent(Window w, Atom a, long value); /* send synthetic event to w */ |
140 extern void sendevent(Window w, Atom a, long value); /* send synthetic event to w */ |