1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-01-05 21:34:17 +01:00

added contrib/ directory, updated WPrefs and wmsetbg for smoothed

backgrounds, added GNUstep info panel, added patch for
saving menu position state
This commit is contained in:
kojima
1999-05-01 17:44:43 +00:00
parent cfef89e920
commit c2434e8925
45 changed files with 2945 additions and 1640 deletions

View File

@@ -52,7 +52,7 @@
#include <proplist.h>
#define PROG_VERSION "wmsetbg (Window Maker) 2.2"
#define PROG_VERSION "wmsetbg (Window Maker) 2.3"
#define WORKSPACE_COUNT (MAX_WORKSPACES+1)
@@ -999,6 +999,11 @@ updateDomain(char *domain, char *key, char *texture)
{
char *program = "wdwrite";
if (smooth)
system("wdwrite SmoothWorkspaceBack YES");
else
system("wdwrite SmoothWorkspaceBack NO");
execlp(program, program, domain, key, texture, NULL);
wwarning("warning could not run \"%s\"", program);
}
@@ -1344,6 +1349,14 @@ main(int argc, char **argv)
PixmapPath = getPixmapPath(domain);
if (!smooth) {
proplist_t val;
val = PLGetDictionaryEntry(domain,
PLMakeString("SmoothWorkspaceBack"));
if (val && PLIsString(val) && strcasecmp(PLGetString(val), "YES")==0)
smooth = True;
}
dpy = XOpenDisplay(display);
if (!dpy) {