(unsigned long **)&hints))
return;
- if (num == MwmHints::elements) {
+ if (num >= MwmHints::elements) {
// retrieved the hints
_mwmhints.flags = hints[0];
_mwmhints.functions = hints[1];
getType();
calcLayer(); // type may have changed, so update the layer
setupDecorAndFunctions();
+ frame->adjustSize(); // this updates the frame for any new decor settings
}
else if (e.atom == property->atom(otk::OBProperty::net_wm_name) ||
e.atom == property->atom(otk::OBProperty::wm_name))