From 4c7119f94fe6accb43770aba1a220bed7c627b79 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 20 May 2007 20:00:23 +0000 Subject: [PATCH] hide more decor whwn its not being used --- openbox/frame.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) 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); -- 2.44.0