Remove dead code
This commit is contained in:
parent
eb6ce2b7c4
commit
2ab0de12e9
1 changed files with 0 additions and 21 deletions
|
@ -45,27 +45,6 @@ namespace KWin
|
|||
// SceneXrender
|
||||
//****************************************
|
||||
|
||||
// kDebug() support for the XserverRegion type
|
||||
struct RegionDebug {
|
||||
RegionDebug(XserverRegion r) : rr(r) {}
|
||||
XserverRegion rr;
|
||||
};
|
||||
|
||||
QDebug& operator<<(QDebug& stream, RegionDebug r)
|
||||
{
|
||||
if (r.rr == None)
|
||||
return stream << "EMPTY";
|
||||
int num;
|
||||
XRectangle* rects = XFixesFetchRegion(display(), r.rr, &num);
|
||||
if (rects == NULL || num == 0)
|
||||
return stream << "EMPTY";
|
||||
for (int i = 0;
|
||||
i < num;
|
||||
++i)
|
||||
stream << "[" << rects[ i ].x << "+" << rects[ i ].y << " " << rects[ i ].width << "x" << rects[ i ].height << "]";
|
||||
return stream;
|
||||
}
|
||||
|
||||
xcb_render_picture_t SceneXrender::buffer = XCB_RENDER_PICTURE_NONE;
|
||||
ScreenPaintData SceneXrender::screen_paint;
|
||||
|
||||
|
|
Loading…
Reference in a new issue