aewl

annotate bar.c @ 6:e0cefb3981c8

implemented pipe_spawn
author Anselm R. Garbe <garbeam@wmii.de>
date Tue, 11 Jul 2006 11:10:05 +0200
parents
children 5c078b66347b
rev   line source
garbeam@5 1 /*
garbeam@5 2 * (C)opyright MMVI Anselm R. Garbe <garbeam at gmail dot com>
garbeam@5 3 * See LICENSE file for license details.
garbeam@5 4 */
garbeam@5 5
garbeam@5 6 #include "wm.h"
garbeam@5 7
garbeam@5 8 void
garbeam@5 9 draw_bar()
garbeam@5 10 {
garbeam@5 11 brush.rect = barrect;
garbeam@5 12 brush.rect.x = brush.rect.y = 0;
garbeam@5 13 draw(dpy, &brush, False, 0);
garbeam@5 14
garbeam@5 15 XCopyArea(dpy, brush.drawable, barwin, brush.gc, 0, 0, barrect.width,
garbeam@5 16 barrect.height, 0, 0);
garbeam@5 17 XFlush(dpy);
garbeam@5 18 }