Drop unused SceneXrender::Window::alpha_cached_opacity

Credits to clang for finding unused private field.
This commit is contained in:
Martin Gräßlin 2017-07-31 18:20:07 +02:00
parent 2858e30882
commit bca8777acd
2 changed files with 0 additions and 2 deletions

View file

@ -315,7 +315,6 @@ SceneXrender::Window::Window(Toplevel* c, SceneXrender *scene)
: Scene::Window(c)
, m_scene(scene)
, format(XRenderUtils::findPictFormat(c->visual()))
, alpha_cached_opacity(0.0)
{
}

View file

@ -206,7 +206,6 @@ private:
void setPictureFilter(xcb_render_picture_t pic, ImageFilterType filter);
SceneXrender *m_scene;
xcb_render_pictformat_t format;
double alpha_cached_opacity;
QRegion transformed_shape;
static QRect temp_visibleRect;
static XRenderPicture *s_tempPicture;