Wed Dec 29 14:14:29 PST 1999
(KainX) Fixed that weird background setting behavior that E-Slides revealed. SVN revision: 1787
This commit is contained in:
parent
b311ffad5c
commit
2d27d026d6
|
@ -4126,3 +4126,10 @@ Thu Dec 23 10:59:57 PST 1999
|
|||
(Raster)
|
||||
|
||||
use setlocale....
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Wed Dec 29 14:14:29 PST 1999
|
||||
(KainX)
|
||||
|
||||
Fixed that weird background setting behavior that E-Slides revealed.
|
||||
|
|
10
src/ipc.c
10
src/ipc.c
|
@ -1090,9 +1090,11 @@ IPC_Background(char *params, Client * c)
|
|||
LIST_TYPE_BACKGROUND);
|
||||
|
||||
if (!bg)
|
||||
bg =
|
||||
CreateDesktopBG(strdup(name), NULL, NULL, 0, 0, 0, 0, 0,
|
||||
0, NULL, 0, 0, 0, 0, 0);
|
||||
{
|
||||
bg = CreateDesktopBG(strdup(name), NULL, NULL, 0, 0, 0,
|
||||
0, 0, 0, NULL, 0, 0, 0, 0, 0);
|
||||
AddItem(bg, bg->name, 0, LIST_TYPE_BACKGROUND);
|
||||
}
|
||||
|
||||
if (!bg)
|
||||
Esnprintf(buf, sizeof(buf),
|
||||
|
@ -1180,8 +1182,6 @@ IPC_Background(char *params, Client * c)
|
|||
type);
|
||||
}
|
||||
}
|
||||
|
||||
AddItem(bg, bg->name, 0, LIST_TYPE_BACKGROUND);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue