We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc608fe commit d728bd9Copy full SHA for d728bd9
1 file changed
data/mate-wm
@@ -58,6 +58,14 @@ if [ "x$WINDOW_MANAGER" = "xcompiz" -o "x$DEFWM" = "xcompiz" ]; then
58
fi
59
60
61
+# Check WINDOW_MANAGER exists
62
+if [ -n "$WINDOW_MANAGER" ] ; then
63
+ if ! command -v "$WINDOW_MANAGER" > /dev/null 2>&1; then
64
+ echo "Window manager $WINDOW_MANAGER executable not found."
65
+ WINDOW_MANAGER=""
66
+ fi
67
+fi
68
+
69
# Avoid looping if the session configuration tells us to use mate-wm or if
70
# the user forces mate-wm via WINDOW_MANAGER
71
if [ "x$WINDOW_MANAGER" = "xmate-wm" ]; then
0 commit comments