Pre-expose modules

~ Attempt to pre expose modules to calculate proper width/height
~ Doesn't really work, but also doesn't segfault, so a win in my book
This commit is contained in:
Kyle Gunger 2023-01-16 22:28:45 -05:00
parent 0b6a38fa8f
commit 033f21a1f2
3 changed files with 114 additions and 54 deletions

View file

@ -52,7 +52,7 @@ struct exposable {
void *private;
int width; /* Should be set by begin_expose(), at latest */
int height;
int height; /* Should be set by begin_expose(), at latest */
char *on_click[MOUSE_BTN_COUNT];