+ XSetWindowBorderWidth(otk::OBDisplay::display, _window,
+ _style->getBorderWidth());
+ XSetWindowBorder(otk::OBDisplay::display, _window,
+ _style->getBorderColor().pixel());
+ XSetWindowBorderWidth(otk::OBDisplay::display, _titlebar,
+ _style->getBorderWidth());
+ XSetWindowBorder(otk::OBDisplay::display, _titlebar,
+ _style->getBorderColor().pixel());
+ XSetWindowBorderWidth(otk::OBDisplay::display, _grip_left,
+ _style->getBorderWidth());
+ XSetWindowBorder(otk::OBDisplay::display, _grip_left,
+ _style->getBorderColor().pixel());
+ XSetWindowBorderWidth(otk::OBDisplay::display, _grip_right,
+ _style->getBorderWidth());
+ XSetWindowBorder(otk::OBDisplay::display, _grip_right,
+ _style->getBorderColor().pixel());
+ XSetWindowBorderWidth(otk::OBDisplay::display, _handle,
+ _style->getBorderWidth());
+ XSetWindowBorder(otk::OBDisplay::display, _handle,
+ _style->getBorderColor().pixel());
+
+ // XXX: if (focused)
+ XSetWindowBackground(otk::OBDisplay::display, _window,
+ _style->getFrameFocus().color().pixel());
+ // XXX: else
+ // XXX: XSetWindowBackground(otk::OBDisplay::display, _window,
+ // XXX: _style->getFrameUnfocus().color().pixel());
+
+ // if !replace, then update() will get called after the client is grabbed!