pibarnas reported in #pekwm that decoration is broken after shading/unshading windows, to me this seems to be issues with the shaping code in PDecor.
My guess is that changes introduced in rev 557fd7130b152ee07fa7aed296655c0da8ec6ace might have caused these issues.
Should be fixed in git head.
To reproduce do the following: