about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@10kloc.org>2006-09-11 17:31:21 +0200
committerAnselm R. Garbe <arg@10kloc.org>2006-09-11 17:31:21 +0200
commit868159fd0a8ce45f1e362bc762260741eabce4ed (patch)
treee431798e9c69c2797b3d54c1d4fddad5260788e2
parentb597fa46370af6594c0980f6c2ddefbe943ee933 (diff)
downloaddwm-868159fd0a8ce45f1e362bc762260741eabce4ed.tar.gz
some other simplifications
-rw-r--r--dwm.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/dwm.h b/dwm.h
index 676b474..c67004a 100644
--- a/dwm.h
+++ b/dwm.h
@@ -97,7 +97,7 @@ extern void drawstatus();			/* draw the bar */
 extern void drawtitle(Client *c);		/* draw title of c */
 extern unsigned long getcolor(const char *colstr);	/* return color of colstr */
 extern void setfont(const char *fontstr);	/* set the font for DC */
-extern unsigned int textw(const char *text);	/* return the text width of text */
+extern unsigned int textw(const char *text);	/* return the width of text in px*/
 
 /* event.c */
 extern void grabkeys();				/* grab all keys defined in config.h */
@@ -114,26 +114,26 @@ extern void initrregs();			/* initialize regexps of rules defined in config.h */
 extern Client *getnext(Client *c);		/* returns next visible client */
 extern Client *getprev(Client *c);		/* returns previous visible client */
 extern void settags(Client *c, Client *trans);	/* sets tags of c */
-extern void tag(Arg *arg);			/* tags c accordingly to arg's index */
-extern void toggletag(Arg *arg);		/* toggles c tags accordingly to arg's index */
+extern void tag(Arg *arg);			/* tags c with arg's index */
+extern void toggletag(Arg *arg);		/* toggles c tags with arg's index */
 
 /* util.c */
 extern void *emallocz(unsigned int size);	/* allocates zero-initialized memory, exits on error */
-extern void eprint(const char *errstr, ...);	/* prints error string and exits with return code 1 */
+extern void eprint(const char *errstr, ...);	/* prints errstr and exits with 1 */
 extern void *erealloc(void *ptr, unsigned int size);	/* reallocates memory, exits on error */
-extern void spawn(Arg *arg);			/* forks a new subprocess accordingly to arg's cmd */
+extern void spawn(Arg *arg);			/* forks a new subprocess with to arg's cmd */
 
 /* view.c */
 extern void detach(Client *c);			/* detaches c from global client list */
-extern void dofloat(Arg *arg);			/* arranges all windows in a floating way, arg is ignored */
-extern void dotile(Arg *arg);			/* arranges all windows in a tiled way, arg is ignored */
+extern void dofloat(Arg *arg);			/* arranges all windows floating, arg is ignored */
+extern void dotile(Arg *arg);			/* arranges all windows, arg is ignored */
 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 Bool isvisible(Client *c);		/* returns True if client is visible */
-extern void resizecol(Arg *arg);		/* resizes the master width accordingly to arg's index value */
+extern void resizecol(Arg *arg);		/* resizes the master width with arg's index value */
 extern void restack();				/* restores z layers of all clients */
-extern void togglemode(Arg *arg);		/* toggles global arrange function (between dotile and dofloat) */
-extern void toggleview(Arg *arg);		/* toggles the tag accordingly to arg's index (in)visible */
-extern void view(Arg *arg);			/* views the tag accordingly to arg's index */
+extern void togglemode(Arg *arg);		/* toggles global arrange function (dotile/dofloat) */
+extern void toggleview(Arg *arg);		/* toggles the tag with arg's index (in)visible */
+extern void view(Arg *arg);			/* views the tag with arg's index */
 extern void viewall(Arg *arg);			/* views all tags, arg is ignored */
 extern void zoom(Arg *arg);			/* zooms the focused client to master column, arg is ignored */
>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 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502