diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-05-20 14:56:09 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-05-20 14:56:09 +0000 |
| commit | 598199425d0871f1ed0110f1af1d2362f21ebb2c (patch) | |
| tree | 083e32514f45ac8d223bc5f0067d6dfdb0877e63 /openbox | |
| parent | 2cce02b1b98375fe294c058ac8164c75ce165186 (diff) | |
make frame elements unmap when they arent in use
Diffstat (limited to 'openbox')
| -rw-r--r-- | openbox/frame.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/openbox/frame.c b/openbox/frame.c index 0256f680..d905e752 100644 --- a/openbox/frame.c +++ b/openbox/frame.c @@ -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); |
