Replace QX11Info::appRootWindow() by KWin::rootWindow()
No need to go through QX11Info for information we already cache.
This commit is contained in:
parent
01b61a9ede
commit
c61ecc887a
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue