From 1b5493afeeb4dc3aa3ad460949857d703d31f932 Mon Sep 17 00:00:00 2001 From: Roland Baer Date: Wed, 1 Aug 2007 11:45:14 +0300 Subject: [PATCH] Removed unused code --- libdecoration/decoration.c | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/libdecoration/decoration.c b/libdecoration/decoration.c index 0a179aa..5726521 100644 --- a/libdecoration/decoration.c +++ b/libdecoration/decoration.c @@ -1665,7 +1665,7 @@ decor_fill_picture_extents_with_shadow (Display *xdisplay, Picture picture, decor_layout_t *layout) { - int w, h, x2, y2, left, right, top, bottom, width, height; + int w, h, left, right, top, bottom, width, height; if (!shadow->picture) return; @@ -1698,9 +1698,6 @@ decor_fill_picture_extents_with_shadow (Display *xdisplay, w = width - left - right; h = height - top - bottom; - x2 = width - right; - y2 = height - bottom; - /* top left */ XRenderComposite (xdisplay, PictOpSrc, shadow->picture, 0, picture, 0, 0, -- 1.5.2.3