all repos — openbox @ c7e813580f40e7262cad2afbf637a21d73b85460

openbox fork - make it a bit more like ryudo

fix some math for frame elements
Dana Jansens danakj@orodu.net
commit

c7e813580f40e7262cad2afbf637a21d73b85460

parent

0fe1e8f4d7c255860fb458be7528dc803dc5948a

1 files changed, 2 insertions(+), 3 deletions(-)

jump to
M openbox/frame.copenbox/frame.c

@@ -374,7 +374,7 @@ if (self->bwidth) {

XMoveResizeWindow(ob_display, self->titletop, ob_rr_theme->grip_width + self->bwidth, 0, /* width + bwidth*2 - bwidth*2 - grips*2 */ - self->width + ob_rr_theme->grip_width * 2, + self->width - ob_rr_theme->grip_width * 2, self->bwidth); XMoveResizeWindow(ob_display, self->titletopleft, 0, 0,

@@ -443,8 +443,7 @@ if (self->decorations & OB_FRAME_DECOR_GRIPS) {

XMoveResizeWindow(ob_display, self->topresize, ob_rr_theme->grip_width + self->bwidth, 0, - self->width - (ob_rr_theme->grip_width + - self->bwidth) * 2, + self->width - ob_rr_theme->grip_width *2, ob_rr_theme->paddingy + 1); XMoveWindow(ob_display, self->tltresize, 0, 0);