98 |
98 |
99 /* client.c */ |
99 /* client.c */ |
100 void attach(Client *c); /* attaches c to global client list */ |
100 void attach(Client *c); /* attaches c to global client list */ |
101 void configure(Client *c); /* send synthetic configure event */ |
101 void configure(Client *c); /* send synthetic configure event */ |
102 void detach(Client *c); /* detaches c from global client list */ |
102 void detach(Client *c); /* detaches c from global client list */ |
103 void focus(Client *c); /* focus c, c may be NULL */ |
103 void focus(Client *c); /* focus c if visible && !NULL, or focus top visible */ |
104 void focustopvisible(void); /* focus top visible window on stack */ |
|
105 void killclient(const char *arg); /* kill sel nicely */ |
104 void killclient(const char *arg); /* kill sel nicely */ |
106 void manage(Window w, XWindowAttributes *wa); /* manage new client */ |
105 void manage(Window w, XWindowAttributes *wa); /* manage new client */ |
107 void resize(Client *c, int x, int y, |
106 void resize(Client *c, int x, int y, |
108 int w, int h, Bool sizehints); /* resize with given coordinates c*/ |
107 int w, int h, Bool sizehints); /* resize with given coordinates c*/ |
109 void togglefloating(const char *arg); /* toggles sel between floating/tiled state */ |
108 void togglefloating(const char *arg); /* toggles sel between floating/tiled state */ |