Properly deal with the fvwm desktop - this should restore that option
to functionality.
This commit is contained in:
parent
503d3c0277
commit
c95f3d84ce
@ -668,10 +668,10 @@ configXDesktop(dialogMenuItem *self)
|
||||
write_root_xprofile("xterm &\n[ ! -d $HOME/GNUstep/Library/WindowMaker ] && /usr/X11R6/bin/wmaker.inst\nexec /usr/X11R6/bin/wmaker\n");
|
||||
}
|
||||
}
|
||||
else if (!strcmp(desk, "fvwm2")) {
|
||||
else if (!strcmp(desk, "fvwm")) {
|
||||
ret = package_add("fvwm");
|
||||
if (DITEM_STATUS(ret) != DITEM_FAILURE && gotit("fvwm2"))
|
||||
write_root_xprofile("xterm &\nexec fvwm2\n");
|
||||
if (DITEM_STATUS(ret) != DITEM_FAILURE && gotit("fvwm"))
|
||||
write_root_xprofile("xterm &\nexec fvwm\n");
|
||||
}
|
||||
if (DITEM_STATUS(ret) == DITEM_FAILURE)
|
||||
msgConfirm("An error occurred while adding the package(s) required\n"
|
||||
|
@ -922,7 +922,7 @@ DMenu MenuXDesktops = {
|
||||
NULL, dmenuSetVariable, NULL, VAR_DESKSTYLE "=afterstep" },
|
||||
{ "6 Windowmaker", "The Windowmaker window manager",
|
||||
NULL, dmenuSetVariable, NULL, VAR_DESKSTYLE "=windowmaker" },
|
||||
{ "7 fvwm2", "The fvwm2 window manager",
|
||||
{ "7 fvwm", "The fvwm window manager",
|
||||
NULL, dmenuSetVariable, NULL, VAR_DESKSTYLE "=fvwm2" },
|
||||
{ NULL } },
|
||||
};
|
||||
|
@ -668,10 +668,10 @@ configXDesktop(dialogMenuItem *self)
|
||||
write_root_xprofile("xterm &\n[ ! -d $HOME/GNUstep/Library/WindowMaker ] && /usr/X11R6/bin/wmaker.inst\nexec /usr/X11R6/bin/wmaker\n");
|
||||
}
|
||||
}
|
||||
else if (!strcmp(desk, "fvwm2")) {
|
||||
else if (!strcmp(desk, "fvwm")) {
|
||||
ret = package_add("fvwm");
|
||||
if (DITEM_STATUS(ret) != DITEM_FAILURE && gotit("fvwm2"))
|
||||
write_root_xprofile("xterm &\nexec fvwm2\n");
|
||||
if (DITEM_STATUS(ret) != DITEM_FAILURE && gotit("fvwm"))
|
||||
write_root_xprofile("xterm &\nexec fvwm\n");
|
||||
}
|
||||
if (DITEM_STATUS(ret) == DITEM_FAILURE)
|
||||
msgConfirm("An error occurred while adding the package(s) required\n"
|
||||
|
@ -922,7 +922,7 @@ DMenu MenuXDesktops = {
|
||||
NULL, dmenuSetVariable, NULL, VAR_DESKSTYLE "=afterstep" },
|
||||
{ "6 Windowmaker", "The Windowmaker window manager",
|
||||
NULL, dmenuSetVariable, NULL, VAR_DESKSTYLE "=windowmaker" },
|
||||
{ "7 fvwm2", "The fvwm2 window manager",
|
||||
{ "7 fvwm", "The fvwm window manager",
|
||||
NULL, dmenuSetVariable, NULL, VAR_DESKSTYLE "=fvwm2" },
|
||||
{ NULL } },
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user