about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--client.c2
-rw-r--r--draw.c2
-rw-r--r--dwm.h2
-rw-r--r--event.c4
-rw-r--r--main.c4
-rw-r--r--screen.c6
6 files changed, 10 insertions, 10 deletions
diff --git a/client.c b/client.c
index cd16e11..c716625 100644
--- a/client.c
+++ b/client.c
@@ -145,7 +145,7 @@ focus(Client *c) {
 		grabbuttons(c, True);
 	}
 	sel = c;
-	drawstatus();
+	drawbar();
 	if(!selscreen)
 		return;
 	if(c) {
diff --git a/draw.c b/draw.c
index f7135d7..eaad7fc 100644
--- a/draw.c
+++ b/draw.c
@@ -49,7 +49,7 @@ textnw(const char *text, unsigned int len) {
 /* extern */
 
 void
-drawstatus(void) {
+drawbar(void) {
 	int i, x;
 
 	dc.x = dc.y = 0;
diff --git a/dwm.h b/dwm.h
index 1a12322..cc8fd1a 100644
--- a/dwm.h
+++ b/dwm.h
@@ -104,7 +104,7 @@ void updatesizehints(Client *c);	/* update the size hint variables of c */
 void updatetitle(Client *c);		/* update the name of c */
 
 /* draw.c */
-void drawstatus(void);			/* draw the bar */
+void drawbar(void);			/* draw the bar */
 void drawtext(const char *text, unsigned long col[ColLast]);	/* draw text */
 unsigned int textw(const char *text);	/* return the width of text in px*/
 
diff --git a/event.c b/event.c
index 9e83178..16201f3 100644
--- a/event.c
+++ b/event.c
@@ -245,7 +245,7 @@ expose(XEvent *e) {
 
 	if(ev->count == 0) {
 		if(barwin == ev->window)
-			drawstatus();
+			drawbar();
 	}
 }
 
@@ -322,7 +322,7 @@ propertynotify(XEvent *e) {
 		if(ev->atom == XA_WM_NAME || ev->atom == netatom[NetWMName]) {
 			updatetitle(c);
 			if(c == sel)
-				drawstatus();
+				drawbar();
 		}
 	}
 }
diff --git a/main.c b/main.c
index 338fed4..26bec25 100644
--- a/main.c
+++ b/main.c
@@ -326,7 +326,7 @@ main(int argc, char *argv[]) {
 	xerrorxlib = XSetErrorHandler(xerror);
 	XSync(dpy, False);
 	setup();
-	drawstatus();
+	drawbar();
 	scan();
 
 	/* main event loop, also reads status text from stdin */
@@ -359,7 +359,7 @@ main(int argc, char *argv[]) {
 				if(p > stext)
 					strncpy(stext, p + 1, sizeof stext);
 			}
-			drawstatus();
+			drawbar();
 		}
 		while(XPending(dpy)) {
 			XNextEvent(dpy, &ev);
diff --git a/screen.c b/screen.c
index 255184a..f793c5d 100644
--- a/screen.c
+++ b/screen.c
@@ -213,7 +213,7 @@ restack(void) {
 	XEvent ev;
 	XWindowChanges wc;
 
-	drawstatus();
+	drawbar();
 	if(!sel)
 		return;
 	if(sel->isfloating || isfloating())
@@ -255,7 +255,7 @@ setlayout(const char *arg) {
 	if(sel)
 		arrange();
 	else
-		drawstatus();
+		drawbar();
 }
 
 void
@@ -307,7 +307,7 @@ togglemax(const char *arg) {
 	}
 	else
 		resize(sel, sel->rx, sel->ry, sel->rw, sel->rh, True);
-	drawstatus();
+	drawbar();
 	while(XCheckMaskEvent(dpy, EnterWindowMask, &ev));
 }
 
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 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519