From 77ec32ef42cab698efa494ad5eb6820814fb6192 Mon Sep 17 00:00:00 2001 From: NishiOwO Date: Sat, 29 Nov 2025 14:59:41 +0000 Subject: [PATCH] fix git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@827 b9cfdab3-6d41-4d17-bbe4-086880011989 --- src/core.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/core.c b/src/core.c index 546b452..dd3fb4e 100644 --- a/src/core.c +++ b/src/core.c @@ -490,6 +490,10 @@ void MwVaListApply(MwWidget handle, va_list va) { } if(x != MwDEFAULT && y != MwDEFAULT) { MwLLSetXY(handle->lowlevel, x, y); + if(handle->prop_event){ + MwDispatch3(handle, prop_change, MwNx); + MwDispatch3(handle, prop_change, MwNy); + } } else { if(x != MwDEFAULT) { MwSetInteger(handle, MwNx, x); @@ -499,6 +503,10 @@ void MwVaListApply(MwWidget handle, va_list va) { } if(w != MwDEFAULT && h != MwDEFAULT) { MwLLSetWH(handle->lowlevel, w, h); + if(handle->prop_event){ + MwDispatch3(handle, prop_change, MwNwidth); + MwDispatch3(handle, prop_change, MwNheight); + } } else { if(w != MwDEFAULT) { MwSetInteger(handle, MwNwidth, w);