move client functions to client.h and client.c
This commit is contained in:
23
wm.h
23
wm.h
@ -123,30 +123,7 @@ Display* wm_connect_display();
|
||||
void wm_mstack(Wm *wm, Monitor *m);
|
||||
void wm_set_layout(Wm *wm, void(*f)(Wm *wm, Monitor*));
|
||||
void wm_layout(Wm *wm, Monitor *m);
|
||||
|
||||
Client *wm_get_last_client(Wm *wm, Monitor m);
|
||||
|
||||
void wm_client_set_atom(Wm *wm, Client *c, const char *name, const unsigned char *data,
|
||||
Atom type, int nelements);
|
||||
Atom wm_client_get_atom(Wm *wm, Client *c, const char *name, unsigned char **atom_ret,
|
||||
unsigned long *nitems_ret);
|
||||
|
||||
Client* wm_client_create(Wm *wm, Window w);
|
||||
void wm_client_free(Wm *wm, Client *c);
|
||||
void wm_client_kill(Wm *wm, Client *c);
|
||||
void wm_client_hide(Wm *wm, Client *c);
|
||||
void wm_client_show(Wm* wm, Client *c);
|
||||
void wm_client_focus(Wm* wm, Client *c);
|
||||
void wm_client_focus_dir(Wm* wm, Client *c, int dir);
|
||||
Client* wm_client_get_dir_rel_c(Client *c, int dir);
|
||||
Client* wm_client_get_focused(Wm* wm);
|
||||
void wm_client_border(Wm* wm, Client *c);
|
||||
void wm_client_border_focused(Wm* wm, Client *c);
|
||||
void wm_monitor_clients_border(Wm* wm, Monitor *m);
|
||||
bool wm_client_is_focused(Wm* wm, Client *c);
|
||||
bool wm_window_is_dock(Wm* wm, Window w);
|
||||
XWindowChanges wm_client_to_xwchanges(Client c);
|
||||
Client* wm_client_find(Wm* wm, Window w);
|
||||
|
||||
void wm_spawn(Wm* wm, char **str);
|
||||
|
||||
|
Reference in New Issue
Block a user