]> git.lyx.org Git - features.git/commitdiff
Fixed wmctrl invocation copying keytest.pl behavior.
authorTommaso Cucinotta <tommaso@lyx.org>
Wed, 12 Dec 2012 19:21:36 +0000 (19:21 +0000)
committerTommaso Cucinotta <tommaso@lyx.org>
Wed, 12 Dec 2012 19:23:05 +0000 (19:23 +0000)
development/autotests/single-test.sh

index d5bdd872418b87ef9b5e42aeab8eeec4d23f479e..72b8eeb036c299f5e8ee9011465e673c974c7e64 100755 (executable)
@@ -18,7 +18,7 @@ fi
 export MAX_DROP=0
 if [ "$(pidof lyx)" != "" ]; then
     export LYX_PID=$(pidof lyx)
-    export LYX_WINDOW_NAME=$(wmctrl -l | grep " $LYX_PID " | cut -d ' ' -f 1);
+    export LYX_WINDOW_NAME=$(wmctrl -l -p | grep " $LYX_PID " | cut -d ' ' -f 1);
 fi
 export MAX_LOOPS=1
 export LYX_EXE=${LYX_EXE:-../../src/lyx}