git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@74 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-09-30 03:15:32 +00:00
parent a65d77ae2d
commit 32d013241a

View File

@@ -128,6 +128,7 @@ void MwDestroyWidget(MwWidget handle) {
void MwStep(MwWidget handle) {
int i;
if(setjmp(handle->before_step)) return;
for(i = 0; i < arrlen(handle->children); i++) MwStep(handle->children[i]);
MwLLNextEvent(handle->lowlevel);
}
@@ -142,8 +143,6 @@ int MwPending(MwWidget handle) {
void MwLoop(MwWidget handle) {
while(!handle->close) {
setjmp(handle->before_step);
MwStep(handle);
MwDispatchUserHandler(handle, MwNtickHandler, NULL);