X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=engines%2Fopenbox%2Fobengine.c;h=b6b9638f3da723c96a997622b98d05b7494d93f1;hb=5ff6204ecd27f6504fb55bc809d7e7c7297d6b8d;hp=a4672d8500317ed3ba6b3b740589a3617eaaa672;hpb=b0f7aa39cc1c4a169e9453832a4aa4bea48b9647;p=chaz%2Fopenbox diff --git a/engines/openbox/obengine.c b/engines/openbox/obengine.c index a4672d85..b6b9638f 100644 --- a/engines/openbox/obengine.c +++ b/engines/openbox/obengine.c @@ -530,7 +530,7 @@ void frame_adjust_area(ObFrame *self, gboolean moved, gboolean resized) self->bwidth; XMapWindow(ob_display, self->handle); - if (a_focused_grip->surface.data.planar.grad == + if (ob_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 (a_unfocused_grip->surface.data.planar.grad == + if (ob_a_unfocused_grip->surface.data.planar.grad == Background_ParentRelative) RECT_SET(self->a_unfocused_handle->area, 0, 0, self->width, ob_s_handle_height);