Tie the damage tracking to the drawing methods

So that keyboard.c just need to draw things, and stop worring about
damaging.
This commit is contained in:
Willow Barraco
2025-04-18 07:47:57 +02:00
parent 47d27e48d5
commit ace77b2aaa
3 changed files with 3 additions and 12 deletions

1
drw.h
View File

@@ -33,7 +33,6 @@ struct drwsurf {
};
struct kbd;
void drwsurf_damage(struct drwsurf *ds, uint32_t x, uint32_t y, uint32_t w, uint32_t h);
void drwsurf_resize(struct drwsurf *ds, uint32_t w, uint32_t h, double s);
void drwsurf_attach(struct drwsurf *ds);
void drwsurf_flip(struct drwsurf *ds);