refactoring

This commit is contained in:
seanpringle
2012-09-11 15:05:47 +10:00
parent 91cac07077
commit 9507a258c9
3 changed files with 72 additions and 93 deletions

View File

@@ -2,6 +2,7 @@ void catch_exit(int sig);
int execsh(char *cmd);
void exec_cmd(char *cmd);
int oops(Display *d, XErrorEvent *ee);
void query_windows();
unsigned int color_name_to_pixel(const char *name);
int window_get_prop(Window w, Atom prop, Atom *type, int *items, void *buffer, int bytes);
int window_get_atom_prop(Window w, Atom atom, Atom *list, int count);
@@ -16,14 +17,13 @@ void client_free(client *c);
void stack_free(stack *s);
int client_has_state(client *c, Atom state);
int client_toggle_state(client *c, Atom state);
void query_visible_windows(stack *s);
int window_send_clientmessage(Window target, Window subject, Atom atom, unsigned long protocol, unsigned long mask);
int client_send_wm_protocol(client *c, Atom protocol);
void client_close(client *c);
void client_place_spot(client *c, int spot, int mon, int force);
void client_spot_cycle(client *c);
Window spot_focus_top_window(int spot, int mon, Window except);
void client_stack_family(client *c, stack *all, stack *raise);
void client_stack_family(client *c, stack *raise);
void client_raise_family(client *c);
void client_set_focus(client *c);
void client_activate(client *c);