everything gets drawn
This commit is contained in:
parent
31e419a134
commit
ba6466a642
3 changed files with 28 additions and 26 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue