mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-09 10:53:27 +00:00
fix
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@827 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -490,6 +490,10 @@ void MwVaListApply(MwWidget handle, va_list va) {
|
|||||||
}
|
}
|
||||||
if(x != MwDEFAULT && y != MwDEFAULT) {
|
if(x != MwDEFAULT && y != MwDEFAULT) {
|
||||||
MwLLSetXY(handle->lowlevel, x, y);
|
MwLLSetXY(handle->lowlevel, x, y);
|
||||||
|
if(handle->prop_event){
|
||||||
|
MwDispatch3(handle, prop_change, MwNx);
|
||||||
|
MwDispatch3(handle, prop_change, MwNy);
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
if(x != MwDEFAULT) {
|
if(x != MwDEFAULT) {
|
||||||
MwSetInteger(handle, MwNx, x);
|
MwSetInteger(handle, MwNx, x);
|
||||||
@@ -499,6 +503,10 @@ void MwVaListApply(MwWidget handle, va_list va) {
|
|||||||
}
|
}
|
||||||
if(w != MwDEFAULT && h != MwDEFAULT) {
|
if(w != MwDEFAULT && h != MwDEFAULT) {
|
||||||
MwLLSetWH(handle->lowlevel, w, h);
|
MwLLSetWH(handle->lowlevel, w, h);
|
||||||
|
if(handle->prop_event){
|
||||||
|
MwDispatch3(handle, prop_change, MwNwidth);
|
||||||
|
MwDispatch3(handle, prop_change, MwNheight);
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
if(w != MwDEFAULT) {
|
if(w != MwDEFAULT) {
|
||||||
MwSetInteger(handle, MwNwidth, w);
|
MwSetInteger(handle, MwNwidth, w);
|
||||||
|
|||||||
Reference in New Issue
Block a user