base the handle's layout on the grip's parentrelative state
This commit is contained in:
parent
8cd8b1d0f4
commit
b0f7aa39cc
1 changed files with 2 additions and 2 deletions
|
@ -530,7 +530,7 @@ void frame_adjust_area(ObFrame *self, gboolean moved, gboolean resized)
|
|||
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 @@ void frame_adjust_area(ObFrame *self, gboolean moved, gboolean resized)
|
|||
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);
|
||||
|
|
Loading…
Reference in a new issue