fix frame rendering to match layout fixes
Dana Jansens danakj@orodu.net
2 files changed,
5 insertions(+),
1 deletions(-)
M
openbox/frame.c
→
openbox/frame.c
@@ -1249,6 +1249,10 @@ if (self->rightmost != OB_FRAME_CONTEXT_NONE)
return self->rightmost; } } + + /* there is no resizing maximized windows so make them the titlebar + context */ + return OB_FRAME_CONTEXT_TITLEBAR; } if (win == self->window) return OB_FRAME_CONTEXT_FRAME;
M
openbox/framerender.c
→
openbox/framerender.c
@@ -217,7 +217,7 @@
ob_rr_theme->a_clear->surface.parentx = ob_rr_theme->grip_width + self->bwidth; RrPaint(ob_rr_theme->a_clear, self->topresize, - self->width - (ob_rr_theme->grip_width + self->bwidth) * 2, + self->width - ob_rr_theme->grip_width * 2, ob_rr_theme->paddingy + 1); ob_rr_theme->a_clear->surface.parentx = 0;