diff options
author | Anselm R. Garbe <arg@suckless.org> | 2007-02-16 16:38:40 +0100 |
---|---|---|
committer | Anselm R. Garbe <arg@suckless.org> | 2007-02-16 16:38:40 +0100 |
commit | 6e22ccf7b1602b33624692eefd51b6398ffa5454 (patch) | |
tree | 98989e7a667a63908c72769e9d79b0f888864c88 /dwm.h | |
parent | 8a5f002c4182abf6dcaac354a3da04cc18830ad9 (diff) | |
download | dwm-6e22ccf7b1602b33624692eefd51b6398ffa5454.tar.gz |
removed ugly ban(), extended resize() that it only resets the size if necessary, added border_width commit to manage()
Diffstat (limited to 'dwm.h')
-rw-r--r-- | dwm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dwm.h b/dwm.h index e92ad56..43b3730 100644 --- a/dwm.h +++ b/dwm.h @@ -99,14 +99,14 @@ extern Display *dpy; extern Window root, barwin; /* client.c */ -extern void ban(Client *c); /* ban c */ extern void configure(Client *c); /* send synthetic configure event */ extern void focus(Client *c); /* focus c, c may be NULL */ extern Client *getclient(Window w); /* return client of w */ extern Bool isprotodel(Client *c); /* returns True if c->win supports wmatom[WMDelete] */ extern void killclient(Arg *arg); /* kill c nicely */ extern void manage(Window w, XWindowAttributes *wa); /* manage new client */ -extern void resize(Client *c, Bool sizehints); /* resize c*/ +extern void resize(Client *c, int x, int y, + int w, int h, Bool sizehints); /* resize c*/ extern void updatesizehints(Client *c); /* update the size hint variables of c */ extern void updatetitle(Client *c); /* update the name of c */ extern void unmanage(Client *c); /* destroy c */ |