diff options
| author | Anselm R. Garbe <arg@suckless.org> | 2007-02-19 15:17:31 +0100 |
|---|---|---|
| committer | Anselm R. Garbe <arg@suckless.org> | 2007-02-19 15:17:31 +0100 |
| commit | f8415019d4edc1cd4f310adb256e6656e85bfe75 (patch) | |
| tree | 2813e15f6dbd4a3c1326a3d2c08ab2bcea3c61af /dwm.h | |
| parent | renamed view.c into screen.c (diff) | |
| download | dwm-f8415019d4edc1cd4f310adb256e6656e85bfe75.tar.gz dwm-f8415019d4edc1cd4f310adb256e6656e85bfe75.zip | |
draw.c is useless (belongs to main.c now)
Diffstat (limited to 'dwm.h')
| -rw-r--r-- | dwm.h | 11 |
1 files changed, 3 insertions, 8 deletions
| @@ -103,28 +103,23 @@ extern void configure(Client *c); /* send synthetic configure event */ | |||
| 103 | extern void focus(Client *c); /* focus c, c may be NULL */ | 103 | extern void focus(Client *c); /* focus c, c may be NULL */ |
| 104 | extern void focusnext(Arg *arg); /* focuses next visible client, arg is ignored */ | 104 | extern void focusnext(Arg *arg); /* focuses next visible client, arg is ignored */ |
| 105 | extern void focusprev(Arg *arg); /* focuses previous visible client, arg is ignored */ | 105 | extern void focusprev(Arg *arg); /* focuses previous visible client, arg is ignored */ |
| 106 | extern Client *getclient(Window w); /* return client of w */ | ||
| 107 | extern void killclient(Arg *arg); /* kill c nicely */ | 106 | extern void killclient(Arg *arg); /* kill c nicely */ |
| 108 | extern void manage(Window w, XWindowAttributes *wa); /* manage new client */ | 107 | extern void manage(Window w, XWindowAttributes *wa); /* manage new client */ |
| 109 | Client *nexttiled(Client *c); /* returns tiled successor of c */ | 108 | Client *nexttiled(Client *c); /* returns tiled successor of c */ |
| 110 | extern void resize(Client *c, int x, int y, | 109 | extern void resize(Client *c, int x, int y, |
| 111 | int w, int h, Bool sizehints); /* resize c*/ | 110 | int w, int h, Bool sizehints); /* resize with given coordinates c*/ |
| 112 | extern void updatesizehints(Client *c); /* update the size hint variables of c */ | 111 | extern void updatesizehints(Client *c); /* update the size hint variables of c */ |
| 113 | extern void updatetitle(Client *c); /* update the name of c */ | 112 | extern void updatetitle(Client *c); /* update the name of c */ |
| 114 | extern void unmanage(Client *c); /* destroy c */ | 113 | extern void unmanage(Client *c); /* destroy c */ |
| 115 | extern void zoom(Arg *arg); /* zooms the focused client to master area, arg is ignored */ | 114 | extern void zoom(Arg *arg); /* zooms the focused client to master area, arg is ignored */ |
| 116 | 115 | ||
| 117 | /* draw.c */ | ||
| 118 | extern void drawstatus(void); /* draw the bar */ | ||
| 119 | extern unsigned long getcolor(const char *colstr); /* return color of colstr */ | ||
| 120 | extern void setfont(const char *fontstr); /* set the font for DC */ | ||
| 121 | extern unsigned int textw(const char *text); /* return the width of text in px*/ | ||
| 122 | |||
| 123 | /* event.c */ | 116 | /* event.c */ |
| 124 | extern void grabkeys(void); /* grab all keys defined in config.h */ | 117 | extern void grabkeys(void); /* grab all keys defined in config.h */ |
| 125 | extern void procevent(void); /* process pending X events */ | 118 | extern void procevent(void); /* process pending X events */ |
| 126 | 119 | ||
| 127 | /* main.c */ | 120 | /* main.c */ |
| 121 | extern void drawstatus(void); /* draw the bar */ | ||
| 122 | extern unsigned int textw(const char *text); /* return the width of text in px*/ | ||
| 128 | extern void quit(Arg *arg); /* quit dwm nicely */ | 123 | extern void quit(Arg *arg); /* quit dwm nicely */ |
| 129 | extern void sendevent(Window w, Atom a, long value); /* send synthetic event to w */ | 124 | extern void sendevent(Window w, Atom a, long value); /* send synthetic event to w */ |
| 130 | extern int xerror(Display *dsply, XErrorEvent *ee); /* dwm's X error handler */ | 125 | extern int xerror(Display *dsply, XErrorEvent *ee); /* dwm's X error handler */ |
