fix whitespacing, remove debug stuff, oops
This commit is contained in:
parent
638cf1a6e2
commit
445abed154
|
@ -607,10 +607,10 @@ xcb_pixmap_t draw_image(uint32_t *resolution) {
|
||||||
cairo_rectangle(xcb_ctx, date_x, date_y, CLOCK_WIDTH, CLOCK_HEIGHT);
|
cairo_rectangle(xcb_ctx, date_x, date_y, CLOCK_WIDTH, CLOCK_HEIGHT);
|
||||||
cairo_fill(xcb_ctx);
|
cairo_fill(xcb_ctx);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
DEBUG("error codes for exprs are %d, %d\n", te_x_err, te_y_err);
|
DEBUG("error codes for exprs are %d, %d\n", te_x_err, te_y_err);
|
||||||
DEBUG("exprs: %s, %s\n", time_x_expr, time_y_expr);
|
DEBUG("exprs: %s, %s\n", time_x_expr, time_y_expr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
@ -687,7 +687,6 @@ static void time_redraw_cb(struct ev_loop *loop, ev_periodic *w, int revents) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void start_time_redraw_tick(struct ev_loop* main_loop) {
|
void start_time_redraw_tick(struct ev_loop* main_loop) {
|
||||||
fprintf(stderr, "redraw rate: %f\n", refresh_rate);
|
|
||||||
if (time_redraw_tick) {
|
if (time_redraw_tick) {
|
||||||
ev_periodic_set(time_redraw_tick, 0., refresh_rate, 0);
|
ev_periodic_set(time_redraw_tick, 0., refresh_rate, 0);
|
||||||
ev_periodic_again(main_loop, time_redraw_tick);
|
ev_periodic_again(main_loop, time_redraw_tick);
|
||||||
|
|
Loading…
Reference in New Issue