diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-06-20 00:05:51 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-06-20 00:05:51 +0000 |
| commit | 6e93be1d2e07ace0c21bc040cfb2e4890667d033 (patch) | |
| tree | 6cfd6a3574159cdd0b7d1bc66f439ffd6fb90b1d /openbox/frame.c | |
| parent | 438924b2ad22f6935514bcd4e15d20e73ab004cb (diff) | |
remove non-planar surfaces
Diffstat (limited to 'openbox/frame.c')
| -rw-r--r-- | openbox/frame.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |
