From 6e22ccf7b1602b33624692eefd51b6398ffa5454 Mon Sep 17 00:00:00 2001 From: "Anselm R. Garbe" Date: Fri, 16 Feb 2007 16:38:40 +0100 Subject: removed ugly ban(), extended resize() that it only resets the size if necessary, added border_width commit to manage() --- dwm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dwm.h') 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 */ -- cgit v1.2.3