Skip to content

Commit

Permalink
removed default circle fill, fixed implicit declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
Lixxia committed Jan 10, 2015
1 parent 06c2398 commit e3c5d2b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions unlock_indicator.c
Expand Up @@ -183,7 +183,7 @@ xcb_pixmap_t draw_image(uint32_t *resolution) {
cairo_set_source_rgba(ctx, 172.0/255, 65.0/255, 66.0/255, 0.2);
break;
default:
cairo_set_source_rgba(ctx, 0, 0, 0, 0.2);
cairo_set_source_rgba(ctx, 0, 0, 0, 0);
break;
}
cairo_fill_preserve(ctx);
Expand Down Expand Up @@ -325,4 +325,4 @@ void start_time_redraw_tick(struct ev_loop* main_loop) {
ev_periodic_init(time_redraw_tick,time_redraw_cb, 1.0, 60., 0);
ev_periodic_start(main_loop, time_redraw_tick);
}
}
}
3 changes: 2 additions & 1 deletion unlock_indicator.h
Expand Up @@ -18,6 +18,7 @@ typedef enum {

xcb_pixmap_t draw_image(uint32_t* resolution);
void redraw_screen(void);
void start_time_redraw_tick(struct ev_loop* main_loop);
void clear_indicator(void);

#endif
#endif

0 comments on commit e3c5d2b

Please sign in to comment.