+ if (self->max_horz && self->max_vert) {
+ /* also can't resize maximized windows.
+ do this after checking for resize to let you maximize */
+ self->functions &=~ OB_CLIENT_FUNC_RESIZE;
+
+ /* kill the handle on fully maxed windows */
+ self->decorations &= ~(OB_FRAME_DECOR_HANDLE | OB_FRAME_DECOR_GRIPS);
+ }
+