Avoid confusing the window name of a LyX instance with the one of

Thunderbird while displaying LyX mails or Firefox while displaying
LyX web pages.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37375 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Tommaso Cucinotta 2011-01-30 15:59:41 +00:00
parent 8ef0abbacc
commit 4d138a9f3d

View File

@ -16,7 +16,7 @@ if [ "$1" != "" ]; then
fi
export MAX_DROP=0
export LYX_WINDOW_NAME=$(wmctrl -l | grep LyX | sed -e 's/.*\(LyX: .*\)$/\1/')
export LYX_WINDOW_NAME=$(wmctrl -l | grep -v Mozilla | grep -v Firefox | grep LyX | sed -e 's/.*\(LyX: .*\)$/\1/')
export MAX_LOOPS=1
export LYX_EXE=${LYX_EXE:-../../src/lyx}