cleanup header files

remove old dwm comments
This commit is contained in:
Julien Danjou 2007-10-23 16:37:36 +02:00
parent 9d9b397649
commit 47b3ea3356
6 changed files with 15 additions and 14 deletions

View File

@ -24,7 +24,7 @@
#include "common.h"
int xerror(Display *, XErrorEvent *); /* awesome's X error handler */
int xerror(Display *, XErrorEvent *);
UICB_PROTO(uicb_quit);
#endif

View File

@ -32,18 +32,19 @@ void grabbuttons(Client *, Bool, Bool, KeySym, unsigned int);
inline void client_attach(Client **, Client *);
inline void client_detach(Client **, Client *);
void client_reattach_after(Client *, Client *);
void ban(Client *); /* bans c */
void ban(Client *);
void window_configure(Display *, Window, int, int, int, int, int);
long window_getstate(Display *, Window);
void focus(Client *, Bool, awesome_config *);
void manage(Window, XWindowAttributes *, awesome_config *);
void resize(Client *, int, int, int, int, awesome_config *, Bool); /* resize with given coordinates c */
void unban(Client *); /* unbans c */
void unmanage(Client *, long, awesome_config *); /* unmanage c */
inline void updatesizehints(Client *); /* update the size hint variables of c */
void updatetitle(Client *); /* update the name of c */
void saveprops(Client * c, int); /* saves client properties */
void resize(Client *, int, int, int, int, awesome_config *, Bool);
void unban(Client *);
void unmanage(Client *, long, awesome_config *);
inline void updatesizehints(Client *);
void updatetitle(Client *);
void saveprops(Client *, int);
void set_shape(Client *);
UICB_PROTO(uicb_killclient);
UICB_PROTO(uicb_moveresize);
UICB_PROTO(uicb_settrans);

View File

@ -214,7 +214,7 @@ struct awesome_config
Client **client_sel;
};
void parse_config(Display *, int, const char *, awesome_config *); /* parse configuration file */
void parse_config(Display *, int, const char *, awesome_config *);
#endif
// vim: filetype=c:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99

View File

@ -24,7 +24,7 @@
#include "config.h"
void grabkeys(awesome_config *); /* grab all keys defined in config */
void grabkeys(awesome_config *);
void handle_event_buttonpress(XEvent *, awesome_config *);
void handle_event_configurerequest(XEvent *, awesome_config *);

View File

@ -26,9 +26,9 @@
#define AWESOMEPROPS_ATOM(disp) XInternAtom(disp, "_AWESOME_PROPERTIES", False)
void arrange(awesome_config *); /* arranges all windows depending on the layout in use */
void arrange(awesome_config *);
Layout * get_current_layout(Tag *, int);
void restack(awesome_config *); /* restores z layers of all clients */
void restack(awesome_config *);
void loadawesomeprops(awesome_config *);
void saveawesomeprops(awesome_config *);

4
tag.h
View File

@ -27,9 +27,9 @@
/** Check if a client is tiled */
#define IS_TILED(client, screen, tags, ntags) (client && !client->isfloating && isvisible(client, screen, tags, ntags))
void compileregs(Rule *, int); /* initialize regexps of rules defined in config.h */
void compileregs(Rule *, int);
Bool isvisible(Client *, int, Tag *, int);
void applyrules(Client * c, awesome_config *); /* applies rules to c */
void applyrules(Client * c, awesome_config *);
UICB_PROTO(uicb_tag);
UICB_PROTO(uicb_togglefloating);