]> git.lyx.org Git - features.git/commitdiff
Avoid confusing the window name of a LyX instance with the one of
authorTommaso Cucinotta <tommaso@lyx.org>
Sun, 30 Jan 2011 15:59:41 +0000 (15:59 +0000)
committerTommaso Cucinotta <tommaso@lyx.org>
Sun, 30 Jan 2011 15:59:41 +0000 (15:59 +0000)
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

development/autotests/single-test.sh

index 6f1a7b0131144401913864cb1ccef117eb215db1..dd2dec67f6a21dbcafcf841ca8a660128afbec3d 100755 (executable)
@@ -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}