about summary refs log tree commit diff stats
path: root/dwm.h
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-02-19 13:53:40 +0100
committerAnselm R. Garbe <arg@suckless.org>2007-02-19 13:53:40 +0100
commitb3d7e07f18f0f69f8c3b3542615da62dfc4c6175 (patch)
tree55ef91ea3249738001b2f60aa80fb8d68af32862 /dwm.h
parent30af19d4426ca32dc38318bbe87534cc44484998 (diff)
downloaddwm-b3d7e07f18f0f69f8c3b3542615da62dfc4c6175.tar.gz
some more refactoring
Diffstat (limited to 'dwm.h')
-rw-r--r--dwm.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/dwm.h b/dwm.h
index 35950a6..4a820b0 100644
--- a/dwm.h
+++ b/dwm.h
@@ -99,13 +99,8 @@ extern Display *dpy;
 extern Window root, barwin;
 
 /* client.c */
-extern void attach(Client *c);			/* attaches c to global client list */
-extern void attachstack(Client *c);		/* attaches client to stack */
 extern void configure(Client *c);		/* send synthetic configure event */
-extern void detach(Client *c);			/* detaches c from global client list */
-extern void detachstack(Client *c);		/* detaches client from stack */
 extern void focus(Client *c);			/* focus c, c may be NULL */
-extern Client *getclient(Window w);		/* return client of w */
 extern Bool isprotodel(Client *c);		/* returns True if c->win supports wmatom[WMDelete] */
 extern void killclient(Arg *arg);		/* kill c nicely */
 extern void manage(Window w, XWindowAttributes *wa);	/* manage new client */
@@ -148,9 +143,14 @@ extern void eprint(const char *errstr, ...);	/* prints errstr and exits with 1 *
 extern void spawn(Arg *arg);			/* forks a new subprocess with to arg's cmd */
 
 /* view.c */
+extern void attach(Client *c);			/* attaches c to global client list */
+extern void attachstack(Client *c);		/* attaches client to stack */
 extern void dofloat(void);			/* arranges all windows floating */
+extern void detach(Client *c);			/* detaches c from global client list */
+extern void detachstack(Client *c);		/* detaches client from stack */
 extern void focusnext(Arg *arg);		/* focuses next visible client, arg is ignored  */
 extern void focusprev(Arg *arg);		/* focuses previous visible client, arg is ignored */
+extern Client *getclient(Window w);		/* return client of w */
 extern Bool isvisible(Client *c);		/* returns True if client is visible */
 extern Client *nextmanaged(Client *c);		/* returns managed successor of c */
 extern void restack(void);			/* restores z layers of all clients */
='n202' href='#n202'>202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304