From 6411130c857554199dbbd6156a2e0c4a2095af7d Mon Sep 17 00:00:00 2001 From: Orestis Date: Thu, 14 Sep 2017 23:10:16 +0300 Subject: [PATCH] Add -name argument for Xephyr (#2937) This way you can assign the test windows to an empty workspace to avoid interacting with them (when xvfb-run is not an option): assign [instance="i3test"] workspace testing --- testcases/lib/StartXServer.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testcases/lib/StartXServer.pm b/testcases/lib/StartXServer.pm index d3042c07..9d4e40c7 100644 --- a/testcases/lib/StartXServer.pm +++ b/testcases/lib/StartXServer.pm @@ -105,7 +105,7 @@ sub start_xserver { for (1 .. $parallel) { my $socket = fork_xserver($keep_xserver_output, $displaynum, 'Xephyr', ":$displaynum", '-screen', '1280x800', - '-nolisten', 'tcp'); + '-nolisten', 'tcp', '-name', "i3test"); push(@displays, ":$displaynum"); push(@sockets_waiting, $socket); $displaynum++; -- 2.39.5