put the windows in tooltips in the list of the highlight effect

svn path=/trunk/KDE/kdelibs/; revision=1047602
This commit is contained in:
Marco Martin 2009-11-11 15:18:52 +00:00
parent 47a6082bf5
commit fda0f6c4de

View File

@ -276,7 +276,7 @@ void ToolTip::setContent(QObject *tipper, const ToolTipContent &data)
d->imageLabel->setPixmap(data.image());
if (data.windowsToPreview().size() > 1 || data.windowToPreview() != 0) {
WindowEffects::highlightWindows(winId(), QList<WId>()<<winId());
WindowEffects::highlightWindows(winId(), QList<WId>()<<winId()<<data.windowsToPreview());
}
if (data.windowsToPreview().size() > 1) {
d->preview->setWindowIds(data.windowsToPreview());