summaryrefslogtreecommitdiff
path: root/src/frame.cc
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-11-10 08:34:46 +0000
committerDana Jansens <danakj@orodu.net>2002-11-10 08:34:46 +0000
commit0b17bd83c7d09ee364913f5e5f6b214f996b3a83 (patch)
tree05d2ebacfa30a53e0fcebd09b87f569bb1b4213e /src/frame.cc
parent365791838f2523869b565dbc5b79555c9d82e1a1 (diff)
add \n's to the signal printfs
make the hash of all clients destroy properly
Diffstat (limited to 'src/frame.cc')
-rw-r--r--src/frame.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/frame.cc b/src/frame.cc
index 22249ce5..9b454a5c 100644
--- a/src/frame.cc
+++ b/src/frame.cc
@@ -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);