fix whitespacing, remove debug stuff, oops

This commit is contained in:
Chris Guillott 2017-05-29 12:15:14 -05:00
parent 638cf1a6e2
commit 445abed154
1 changed files with 12 additions and 13 deletions

View File

@ -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_fill(xcb_ctx);
}
else {
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);
}
else {
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);
}
}
}
} 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) {
fprintf(stderr, "redraw rate: %f\n", refresh_rate);
if (time_redraw_tick) {
ev_periodic_set(time_redraw_tick, 0., refresh_rate, 0);
ev_periodic_again(main_loop, time_redraw_tick);