+ if (self->cbwidth_x) {
+ XMoveResizeWindow(ob_display, self->innerleft,
+ self->size.left - self->cbwidth_x,
+ self->size.top,
+ self->cbwidth_x, self->client->area.height);
+ XMoveResizeWindow(ob_display, self->innerright,
+ self->size.left + self->client->area.width,
+ self->size.top,
+ self->cbwidth_x, self->client->area.height);
+
+ XMapWindow(ob_display, self->innerleft);
+ XMapWindow(ob_display, self->innerright);
+ } else {
+ XUnmapWindow(ob_display, self->innerleft);
+ XUnmapWindow(ob_display, self->innerright);
+ }
+
+ if (self->cbwidth_y) {
+ XMoveResizeWindow(ob_display, self->innertop,
+ self->size.left - self->cbwidth_x,
+ self->size.top - self->cbwidth_y,
+ self->client->area.width +
+ self->cbwidth_x * 2, self->cbwidth_y);
+ XMoveResizeWindow(ob_display, self->innerbottom,
+ self->size.left - self->cbwidth_x,
+ self->size.top + self->client->area.height,
+ self->client->area.width +
+ self->cbwidth_x * 2, self->cbwidth_y);
+
+ XMapWindow(ob_display, self->innertop);
+ XMapWindow(ob_display, self->innerbottom);
+ } else {
+ XUnmapWindow(ob_display, self->innertop);
+ XUnmapWindow(ob_display, self->innerbottom);
+ }
+