~mc-return/compiz/compiz0.9.9.merge-plugin-startup

« back to all changes in this revision

Viewing changes to plugins/composite/src/window.cpp

MergedĀ latestĀ lp:compiz

Show diffs side-by-side

added added

removed removed

Lines of Context:
181
181
bool
182
182
PrivateCompositeWindow::getAttributes (XWindowAttributes &attr)
183
183
{
184
 
    if (XGetWindowAttributes (screen->dpy (),
185
 
                              ROOTPARENT (window), &attr))
186
 
        return true;
187
 
 
188
 
    return false;
 
184
    return window->queryFrameAttributes (attr);
189
185
}
190
186
 
191
187
bool