rem: paintRuler(Ruler *rPtr)
add: static void paintRuler(Ruler * rPtr)
context: paintRuler(Ruler *rPtr){    WMScreen *screen = rPtr->view->screen;    if(1||!rPtr->drawBuffer) {        drawRulerOnPixmap(rPtr);    }    XCopyArea(rPtr->view->screen->display, rPtr->drawBuffer,              rPtr->view->window, rPtr->bg, 0, 0, rPtr->view->size.width, 40,              0, 0);}