along with r6753, when window is maximized make the borders count as titlebar context not the top/tl/tr contexts
Dana Jansens danakj@orodu.net
1 files changed,
4 insertions(+),
1 deletions(-)
jump to
M
openbox/frame.c
→
openbox/frame.c
@@ -1207,7 +1207,7 @@ /* when the user clicks in the corners of the titlebar and the client
is fully maximized, then treat it like they clicked in the button that is there */ if (self->max_horz && self->max_vert && - (win == self->title || + (win == self->title || win == self->titletop || win == self->titleleft || win == self->titletopleft || win == self->titleright || win == self->titletopright)) {@@ -1223,6 +1223,9 @@
/* title is a border width in from the edge */ if (win == self->title) fx += self->bwidth; + /* titletop is a bit to the right */ + else if (win == self->titletop) + fx += ob_rr_theme->grip_width + self->bwidth; /* titletopright is way to the right edge */ else if (win == self->titletopright) fx += self->area.width - (ob_rr_theme->grip_width + self->bwidth);