parent
c14ac69501
commit
30123f7d0b
|
@ -562,7 +562,10 @@ DeskBackgroundConfigure(Desk * dsk)
|
||||||
EClearWindow(win);
|
EClearWindow(win);
|
||||||
}
|
}
|
||||||
|
|
||||||
HintsSetRootInfo(EoGetWin(dsk), dsk->bg.pmap, dsk->bg.pixel);
|
if (Conf.hints.set_xroot_info_on_root_window)
|
||||||
|
HintsSetRootInfo(VRoot.win, dsk->bg.pmap, dsk->bg.pixel);
|
||||||
|
else
|
||||||
|
HintsSetRootInfo(EoGetWin(dsk), dsk->bg.pmap, dsk->bg.pixel);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
@ -294,9 +294,6 @@ HintsSetRootInfo(Window win, Pixmap pmap, unsigned int color)
|
||||||
{
|
{
|
||||||
Ecore_X_Pixmap pm;
|
Ecore_X_Pixmap pm;
|
||||||
|
|
||||||
if (Conf.hints.set_xroot_info_on_root_window)
|
|
||||||
win = VRoot.win;
|
|
||||||
|
|
||||||
pm = pmap;
|
pm = pmap;
|
||||||
ecore_x_window_prop_xid_set(win, E_XROOTPMAP_ID, XA_PIXMAP, &pm, 1);
|
ecore_x_window_prop_xid_set(win, E_XROOTPMAP_ID, XA_PIXMAP, &pm, 1);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue