]> Dogcows Code - chaz/openbox/commitdiff
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 d905e75294516af783d1736cf79209f88498eac5..81a50fe258322ba769f9df7365e6239c60e679c8 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);
This page took 0.028661 seconds and 4 git commands to generate.