[metacity] compositor: remove unused variable
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [metacity] compositor: remove unused variable
- Date: Thu, 1 Sep 2016 17:57:17 +0000 (UTC)
commit 86cf1dfd319d1cde39ece975719fdc7396204f90
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Wed Aug 31 17:42:47 2016 +0300
compositor: remove unused variable
src/compositor/compositor-xrender.c | 14 --------------
1 files changed, 0 insertions(+), 14 deletions(-)
---
diff --git a/src/compositor/compositor-xrender.c b/src/compositor/compositor-xrender.c
index b9923e6..11a1ca9 100644
--- a/src/compositor/compositor-xrender.c
+++ b/src/compositor/compositor-xrender.c
@@ -168,7 +168,6 @@ typedef struct _MetaCompWindow
gboolean needs_shadow;
MetaShadowType shadow_type;
- Picture shadow_pict;
XserverRegion window_region;
XserverRegion visible_region;
@@ -1992,12 +1991,6 @@ free_win (MetaCompWindow *cw,
cw->alpha_pict = None;
}
- if (cw->shadow_pict)
- {
- XRenderFreePicture (xdisplay, cw->shadow_pict);
- cw->shadow_pict = None;
- }
-
if (cw->window_region)
{
XFixesDestroyRegion (xdisplay, cw->window_region);
@@ -2163,12 +2156,6 @@ determine_mode (MetaDisplay *display,
cw->alpha_pict = None;
}
- if (cw->shadow_pict)
- {
- XRenderFreePicture (xdisplay, cw->shadow_pict);
- cw->shadow_pict = None;
- }
-
if (cw->attrs.class == InputOnly)
format = NULL;
else
@@ -2324,7 +2311,6 @@ add_win (MetaScreen *screen,
cw->damage = XDamageCreate (xdisplay, xwindow, XDamageReportNonEmpty);
cw->alpha_pict = None;
- cw->shadow_pict = None;
cw->window_region = None;
cw->visible_region = None;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]