icewm/icewm-1.2.35-override-config.patch

17 lines
481 B
Diff
Raw Normal View History

make icewm --config=preferences.xy work, i.e. load /etc/icewm/preferences.xy
---
src/wmapp.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- src/wmapp.cc.orig
+++ src/wmapp.cc
@@ -1136,7 +1136,7 @@ YWMApp::YWMApp(int *argc, char ***argv,
managerWindow = None;
#ifndef NO_CONFIGURE
- loadConfiguration("preferences");
+ loadConfiguration(configFile ? configFile : "preferences");
if (themeName != 0) {
MSG(("themeName=%s", themeName));