~nabil-stendardo/ubuntu/quantal/compiz/fix-segfault-related-to-shaders-and-uniforms

« back to all changes in this revision

Viewing changes to src/screen.cpp

* Cherry-pick fixes from trunk:
  - Fix FTBFS with BUILD_GLES

Show diffs side-by-side

added added

removed removed

Lines of Context:
2887
2887
    for (cps::WindowManager::iterator i = windowManager.begin(); i != windowManager.end(); ++i)
2888
2888
    {
2889
2889
        CompWindow* const w(*i);
2890
 
        if (w->priv->frame == id)
 
2890
        if (w->priv->serverFrame == id)
2891
2891
        {
2892
2892
            if (w->overrideRedirect () && !override_redirect)
2893
2893
                return NULL;