- x = (ev->value_mask & CWX) ? ev->x : c->x;
- y = (ev->value_mask & CWY) ? ev->y : c->y;
- w = (ev->value_mask & CWWidth) ? ev->width : c->w;
- h = (ev->value_mask & CWHeight) ? ev->height : c->h;
+ if(ev->value_mask & CWX)
+ c->x = ev->x;
+ if(ev->value_mask & CWY)
+ c->y = ev->y;
+ if(ev->value_mask & CWWidth)
+ c->w = ev->width;
+ if(ev->value_mask & CWHeight)
+ c->h = ev->height;