From 6e93be1d2e07ace0c21bc040cfb2e4890667d033 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 20 Jun 2003 00:05:51 +0000 Subject: remove non-planar surfaces --- openbox/frame.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'openbox/frame.c') diff --git a/openbox/frame.c b/openbox/frame.c index 211a275c..358144dc 100644 --- a/openbox/frame.c +++ b/openbox/frame.c @@ -310,7 +310,7 @@ void frame_adjust_area(Frame *self, gboolean moved, gboolean resized) self->bwidth; XMapWindow(ob_display, self->handle); - if (theme_a_focused_grip->surface.data.planar.grad == + if (theme_a_focused_grip->surface.grad == Background_ParentRelative) RECT_SET(self->a_focused_handle->area, 0, 0, self->width, theme_handle_height); @@ -319,7 +319,7 @@ void frame_adjust_area(Frame *self, gboolean moved, gboolean resized) theme_grip_width + self->bwidth, 0, self->width - (theme_grip_width + self->bwidth) * 2, theme_handle_height); - if (theme_a_unfocused_grip->surface.data.planar.grad == + if (theme_a_unfocused_grip->surface.grad == Background_ParentRelative) RECT_SET(self->a_unfocused_handle->area, 0, 0, self->width, theme_handle_height); -- cgit v1.2.3