tiny code-style tweak

This commit is contained in:
Hiltjo Posthuma 2020-08-24 19:32:47 +02:00
parent 9620b1d8c2
commit 2ef13088e4
2 changed files with 3 additions and 3 deletions

5
drw.c
View File

@ -389,8 +389,9 @@ drw_map(Drw *drw, Window win, int x, int y, unsigned int w, unsigned int h)
} }
void void
drw_sync(Drw *drw) { drw_sync(Drw *drw)
XSync(drw->dpy, False); {
XSync(drw->dpy, False);
} }
unsigned int unsigned int

1
drw.h
View File

@ -37,7 +37,6 @@ void drw_font_getexts(Fnt *font, const char *text, unsigned int len, unsigned in
void drw_clr_create(Drw *drw, Clr *dest, const char *clrname); void drw_clr_create(Drw *drw, Clr *dest, const char *clrname);
Clr *drw_scm_create(Drw *drw, const char *clrnames[], size_t clrcount); Clr *drw_scm_create(Drw *drw, const char *clrnames[], size_t clrcount);
/* Drawing context manipulation */ /* Drawing context manipulation */
void drw_setfontset(Drw *drw, Fnt *set); void drw_setfontset(Drw *drw, Fnt *set);
void drw_setscheme(Drw *drw, Clr *scm); void drw_setscheme(Drw *drw, Clr *scm);