fix
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@827 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
27226ed28a
commit
77ec32ef42
1 changed files with 8 additions and 0 deletions
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue