Replace QX11Info::appRootWindow() by KWin::rootWindow()

No need to go through QX11Info for information we already cache.
This commit is contained in:
Martin Gräßlin 2015-02-17 15:56:21 +01:00
parent 01b61a9ede
commit c61ecc887a

View file

@ -206,7 +206,7 @@ void TabBoxHandlerPrivate::updateHighlightWindows()
data.resize(2);
data[ 1 ] = wId;
} else {
wId = QX11Info::appRootWindow();
wId = rootWindow();
data.resize(1);
}
data[ 0 ] = currentClient ? currentClient->window() : 0L;