hide more decor whwn its not being used
authorDana Jansens <danakj@orodu.net>
Sun, 20 May 2007 20:00:23 +0000 (20:00 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 20 May 2007 20:00:23 +0000 (20:00 +0000)
openbox/frame.c

index d905e75..81a50fe 100644 (file)
@@ -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);