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:
Michael Jennings 1999-12-29 12:17:39 +00:00
parent b311ffad5c
commit 2d27d026d6
2 changed files with 12 additions and 5 deletions

View File

@ -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.

View File

@ -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