rem: box->horizontal = flag; rearrange(box);
add: flag = ((flag==0) ? 0 : 1); if (box->horizontal != flag) { box->horizontal = flag; rearrange(box); }
context: WMSetBoxHorizontal(WMBox *box, Bool flag){    box->horizontal = flag;    rearrange(box);}