152 |
|
|
153 |
struct _Client |
struct _Client |
154 |
{ |
{ |
155 |
Window window, frame, title, sides[3], corners[4], buttons[BUTTON_COUNT]; |
Window window, frame, title, sides[3], corners[4], buttons[BUTTON_COUNT]; |
156 |
int x, y, width, height, border_width; |
int x, y, width, height, border_width; |
157 |
int old_x, old_y, old_width, old_height; |
int old_x, old_y, old_width, old_height; |
158 |
int button_pressed[BUTTON_COUNT]; |
int button_pressed[BUTTON_COUNT]; |
159 |
char *name; |
char *name; |
160 |
XSizeHints *size; |
XSizeHints *size; |
161 |
int has_border; |
int has_border; |
162 |
long win_hints; |
long win_hints; |
163 |
long win_state; |
long win_state; |
164 |
long win_layer; |
long win_layer; |
165 |
long win_workspace; |
long win_workspace; |
166 |
int ignore_unmap, focus; |
int ignore_unmap, focus; |
167 |
Client *next; |
Client *next; |
168 |
Client *prev; |
Client *prev; |
169 |
Client *transientFor; |
Client *transientFor; |
170 |
}; |
}; |
171 |
|
|
172 |
/* |
/* |
214 |
* |
* |
215 |
*/ |
*/ |
216 |
|
|
217 |
void clientGravitate(Client *, int); |
void clientGravitate (Client *, int); |
218 |
void clientConfigure(Client *, XWindowChanges *, int); |
void clientConfigure (Client *, XWindowChanges *, int); |
219 |
void clientFrame(Window); |
void clientFrame (Window); |
220 |
void clientUnframe(Client *, int); |
void clientUnframe (Client *, int); |
221 |
void clientFrameAll(); |
void clientFrameAll (); |
222 |
void clientUnframeAll(); |
void clientUnframeAll (); |
223 |
void clientGrabKeys(Client *); |
void clientGrabKeys (Client *); |
224 |
void clientUngrabKeys(Client *); |
void clientUngrabKeys (Client *); |
225 |
Client *clientGetFromWindow(Window, int); |
Client *clientGetFromWindow (Window, int); |
226 |
void clientShow(Client *, int); |
void clientShow (Client *, int); |
227 |
void clientHide(Client *, int); |
void clientHide (Client *, int); |
228 |
void clientClose(Client *); |
void clientClose (Client *); |
229 |
void clientRaise(Client *); |
void clientRaise (Client *); |
230 |
void clientLower(Client *); |
void clientLower (Client *); |
231 |
void clientSetLayer(Client *, int); |
void clientSetLayer (Client *, int); |
232 |
void clientSetWorkspace(Client *, int); |
void clientSetWorkspace (Client *, int); |
233 |
void clientSetState(Client *, CARD32, CARD32); |
void clientSetState (Client *, CARD32, CARD32); |
234 |
void clientToggleShaded(Client *); |
void clientToggleShaded (Client *); |
235 |
void clientToggleSticky(Client *); |
void clientToggleSticky (Client *); |
236 |
void clientToggleMaximized(Client *, int); |
void clientToggleMaximized (Client *, int); |
237 |
void clientSetFocus(Client *, int); |
void clientSetFocus (Client *, int); |
238 |
Client *clientGetFocus(); |
Client *clientGetFocus (); |
239 |
void clientMove(Client *, XEvent *); |
void clientMove (Client *, XEvent *); |
240 |
void clientResize(Client *, XEvent *); |
void clientResize (Client *, XEvent *); |
241 |
Client *clientGetNext(Client *, int); |
Client *clientGetNext (Client *, int); |
242 |
void clientCycle(Client *); |
void clientCycle (Client *); |
243 |
void clientButtonPress(Client *, Window, XButtonEvent *); |
void clientButtonPress (Client *, Window, XButtonEvent *); |
244 |
|
|
245 |
void handleEvent(XEvent *); |
void handleEvent (XEvent *); |
246 |
void eventLoop(); |
void eventLoop (); |
247 |
|
|
248 |
int frameLeft(Client *); |
int frameLeft (Client *); |
249 |
int frameRight(Client *); |
int frameRight (Client *); |
250 |
int frameTop(Client *); |
int frameTop (Client *); |
251 |
int frameBottom(Client *); |
int frameBottom (Client *); |
252 |
int frameX(Client *); |
int frameX (Client *); |
253 |
int frameY(Client *); |
int frameY (Client *); |
254 |
int frameWidth(Client *); |
int frameWidth (Client *); |
255 |
int frameHeight(Client *); |
int frameHeight (Client *); |
256 |
void frameDraw(Client *); |
void frameDraw (Client *); |
257 |
|
|
258 |
void loadSettings(); |
void loadSettings (); |
259 |
void unloadSettings(); |
void unloadSettings (); |
260 |
void reloadSettings(); |
void reloadSettings (); |
261 |
|
|
262 |
void workspaceSwitch(int, Client *); |
void workspaceSwitch (int, Client *); |
263 |
void workspaceSetCount(int); |
void workspaceSetCount (int); |
264 |
|
|
265 |
#endif /* __OROBORUS_H */ |
#endif /* __OROBORUS_H */ |