]> Dogcows Code - chaz/openbox/commitdiff
make frame elements unmap when they arent in use
authorDana Jansens <danakj@orodu.net>
Sun, 20 May 2007 14:56:09 +0000 (14:56 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 20 May 2007 14:56:09 +0000 (14:56 +0000)
openbox/frame.c

index 0256f6808a632aabc0ba7060c778297d26080c3b..d905e75294516af783d1736cf79209f88498eac5 100644 (file)
@@ -421,6 +421,8 @@ void frame_adjust_area(ObFrame *self, gboolean moved,
                 } else
                     XUnmapWindow(ob_display, self->titlebottom);
             } else {
+                XUnmapWindow(ob_display, self->titlebottom);
+
                 XUnmapWindow(ob_display, self->titletop);
                 XUnmapWindow(ob_display, self->titletopleft);
                 XUnmapWindow(ob_display, self->titletopright);
@@ -581,6 +583,8 @@ void frame_adjust_area(ObFrame *self, gboolean moved,
                 } else
                     XUnmapWindow(ob_display, self->handletop);
             } else {
+                XUnmapWindow(ob_display, self->handletop);
+
                 XUnmapWindow(ob_display, self->handlebottom);
                 XUnmapWindow(ob_display, self->lgripleft);
                 XUnmapWindow(ob_display, self->rgripright);
This page took 0.023599 seconds and 4 git commands to generate.