]> Dogcows Code - chaz/openbox/blobdiff - src/frame.cc
add \n's to the signal printfs
[chaz/openbox] / src / frame.cc
index 22249ce55762bf119be418811644633e3f76a975..9b454a5c6dd7516947d2d2aff55565e0dc697c73 100644 (file)
@@ -267,6 +267,8 @@ void OBFrame::update()
   // map/unmap all the windows
   if (_decorations & OBClient::Decor_Titlebar) {
     XMapWindow(otk::OBDisplay::display, _titlebar);
+    XSetWindowBorder(otk::OBDisplay::display, _titlebar,
+                     _style->getBorderWidth());
     XMapWindow(otk::OBDisplay::display, _label);
     if (_decorations & OBClient::Decor_Iconify)
       XMapWindow(otk::OBDisplay::display, _button_iconify);
@@ -295,8 +297,14 @@ void OBFrame::update()
 
   if (_decorations & OBClient::Decor_Handle) {
     XMapWindow(otk::OBDisplay::display, _handle);
+    XSetWindowBorder(otk::OBDisplay::display, _handle,
+                     _style->getBorderWidth());
     XMapWindow(otk::OBDisplay::display, _grip_left);
+    XSetWindowBorder(otk::OBDisplay::display, _grip_left,
+                     _style->getBorderWidth());
     XMapWindow(otk::OBDisplay::display, _grip_right);
+    XSetWindowBorder(otk::OBDisplay::display, _grip_right,
+                     _style->getBorderWidth());
   } else {
     XUnmapWindow(otk::OBDisplay::display, _handle);
     XUnmapWindow(otk::OBDisplay::display, _grip_left);
This page took 0.022387 seconds and 4 git commands to generate.