Fix _XROOT... hint (pseudotrans) compatibility hack.
SVN revision: 22268
This commit is contained in:
parent
0e37f0b5b8
commit
980de43afc
|
@ -566,8 +566,6 @@ DeskBackgroundConfigure(Desk * dsk)
|
|||
}
|
||||
|
||||
HintsSetRootInfo(EoGetWin(dsk), pmap, pixel);
|
||||
if (Conf.hints.set_xroot_info_on_root_window && win != VRoot.win)
|
||||
HintsSetRootInfo(VRoot.win, pmap, pixel);
|
||||
}
|
||||
else if (dsk->bg.bg)
|
||||
{
|
||||
|
@ -660,6 +658,10 @@ DeskBackgroundRefresh(Desk * dsk, int why)
|
|||
dsk->bg.pmap_set = pmap;
|
||||
}
|
||||
|
||||
if (bg && dsk->viewable)
|
||||
if (Conf.hints.set_xroot_info_on_root_window && dsk->num > 0)
|
||||
HintsSetRootInfo(VRoot.win, pmap, pixel);
|
||||
|
||||
if (changed)
|
||||
ModulesSignal(ESIGNAL_BACKGROUND_CHANGE, dsk);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue