git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@827 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-11-29 14:59:41 +00:00
parent 27226ed28a
commit 77ec32ef42

View File

@@ -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);