make frame elements unmap when they arent in use
Dana Jansens danakj@orodu.net
1 files changed,
4 insertions(+),
0 deletions(-)
jump to
M
openbox/frame.c
→
openbox/frame.c
@@ -421,6 +421,8 @@ XMapWindow(ob_display, self->titlebottom);
} 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 @@ }
} 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);