summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-20 20:00:23 +0000
committerDana Jansens <danakj@orodu.net>2007-05-20 20:00:23 +0000
commit4c7119f94fe6accb43770aba1a220bed7c627b79 (patch)
tree65e8dd2b569efc0f6d3717d7a41bd8ff1749886c
parenta78b22d0155432561bc4296661e33dc8a1d9a2b8 (diff)
hide more decor whwn its not being used
-rw-r--r--openbox/frame.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/openbox/frame.c b/openbox/frame.c
index d905e752..81a50fe2 100644
--- a/openbox/frame.c
+++ b/openbox/frame.c
@@ -580,9 +580,20 @@ void frame_adjust_area(ObFrame *self, gboolean moved,
XUnmapWindow(ob_display, self->lgriptop);
XUnmapWindow(ob_display, self->rgriptop);
}
- } else
+ } else {
+ XUnmapWindow(ob_display, self->handleleft);
+ XUnmapWindow(ob_display, self->handleright);
+ XUnmapWindow(ob_display, self->lgriptop);
+ XUnmapWindow(ob_display, self->rgriptop);
+
XUnmapWindow(ob_display, self->handletop);
+ }
} else {
+ XUnmapWindow(ob_display, self->handleleft);
+ XUnmapWindow(ob_display, self->handleright);
+ XUnmapWindow(ob_display, self->lgriptop);
+ XUnmapWindow(ob_display, self->rgriptop);
+
XUnmapWindow(ob_display, self->handletop);
XUnmapWindow(ob_display, self->handlebottom);