From: Dana Jansens Date: Sun, 20 May 2007 20:00:23 +0000 (+0000) Subject: hide more decor whwn its not being used X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=4c7119f94fe6accb43770aba1a220bed7c627b79;p=chaz%2Fopenbox hide more decor whwn its not being used --- 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);