huge optimization
This commit is contained in:
@ -20,11 +20,11 @@ void fill_color(Display *display, Window window, GC gc, Colormap cm, const char
|
||||
XFillRectangle(display, window, gc, 0, 0, WIDTH, HEIGHT);
|
||||
}
|
||||
|
||||
void fill_black(Display *display, Window window, GC gc, Colormap cm) {
|
||||
void black(Display *display, Window window, GC gc, Colormap cm) {
|
||||
fill_color(display, window, gc, cm, "#000000");
|
||||
}
|
||||
|
||||
void fill_white(Display *display, Window window, GC gc, Colormap cm) {
|
||||
void white(Display *display, Window window, GC gc, Colormap cm) {
|
||||
fill_color(display, window, gc, cm, "#FFFFFF");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user