all repos — openbox @ b0f7aa39cc1c4a169e9453832a4aa4bea48b9647

openbox fork - make it a bit more like ryudo

base the handle's layout on the grip's parentrelative state
Dana Jansens danakj@orodu.net
commit

b0f7aa39cc1c4a169e9453832a4aa4bea48b9647

parent

8cd8b1d0f4860eac377513c3742a1f7f7478251d

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

jump to
M engines/openbox/obengine.cengines/openbox/obengine.c

@@ -530,7 +530,7 @@ self->innersize.bottom += ob_s_handle_height +

self->bwidth; XMapWindow(ob_display, self->handle); - if (self->a_focused_handle->surface.data.planar.grad == + if (a_focused_grip->surface.data.planar.grad == Background_ParentRelative) RECT_SET(self->a_focused_handle->area, 0, 0, self->width, ob_s_handle_height);

@@ -539,7 +539,7 @@ RECT_SET(self->a_focused_handle->area,

GRIP_WIDTH + self->bwidth, 0, self->width - (GRIP_WIDTH + self->bwidth) * 2, ob_s_handle_height); - if (self->a_unfocused_handle->surface.data.planar.grad == + if (a_unfocused_grip->surface.data.planar.grad == Background_ParentRelative) RECT_SET(self->a_unfocused_handle->area, 0, 0, self->width, ob_s_handle_height);