fix frame rendering to match layout fixes
This commit is contained in:
parent
d0c1a24be9
commit
8262e1ba66
2 changed files with 5 additions and 1 deletions
|
@ -1249,6 +1249,10 @@ ObFrameContext frame_context(ObClient *client, Window win, gint x, gint y)
|
|||
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;
|
||||
|
|
|
@ -217,7 +217,7 @@ void framerender_frame(ObFrame *self)
|
|||
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;
|
||||
|
|
Loading…
Reference in a new issue