#4 Fix dock background when desktop background changes

open
nobody
None
5
2004-09-19
2004-09-19
Anonymous
No

ksmoothdock wasn't updating the dock background area
when the desktop background is changed. This very
annoying if you have KDE setup to change the desktop
background every few minutes.

solution: fix updateBackground function in
ksmoothdock.cpp to first call loadWallpaper before
updating dock background.

file: ksmoothdock.cpp

single line change, marked with //JDS

void KSmoothDock::updateBackground(const QPixmap& pix) {
loadWallpaper(); //JDS
if (wMode == HIDDEN) {
updateBackgroundHiddenMode(pix);
} else {
if (zoomMode == NORMAL_ZOOM)
updateBackgroundNZ(pix);
else
updateBackgroundPZ(pix);
}
}

Discussion

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks