everything gets drawn

This commit is contained in:
IoIxD 2025-12-05 19:18:11 -07:00
commit ba6466a642
3 changed files with 28 additions and 26 deletions

View file

@ -15,13 +15,6 @@ static void lldrawhandler(MwLL handle, void* data) {
MwDispatch(h, draw);
if(h->draw_inject != NULL) h->draw_inject(h);
MwDispatchUserHandler(h, MwNdrawHandler, NULL);
handle->common.do_redraw = MwTRUE;
if(h->parent == NULL) {
MwLLEndDraw(h->lowlevel);
} else if(h->parent->lowlevel == NULL) {
MwLLEndDraw(h->lowlevel);
}
}
static void lluphandler(MwLL handle, void* data) {
@ -339,6 +332,7 @@ void MwLoop(MwWidget handle) {
long more;
while(MwPending(handle)) {
if((v = MwStep(handle)) != 0) break;
MwLLEndDraw(handle->lowlevel);
}
if(v != 0) break;