Adds a way to distinguish linux windows (#1078)

Only enabled on Xorg environments, so checks $DISPLAY
https://developer.mozilla.org/en-US/docs/Mozilla/Command_Line_Options#X11_options
This commit is contained in:
Adomas Ven 2016-08-16 11:03:07 +03:00 committed by Dan Stillman
parent 076bdadb29
commit 82fcb09716

View file

@ -22,7 +22,11 @@ if [ -z "$FX_EXECUTABLE" ]; then
fi
fi
FX_ARGS=""
if [ -z "$DISPLAY" ]; then
FX_ARGS=""
else
FX_ARGS="--class=ZTestFirefox"
fi
function usage {
cat >&2 <<DONE