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
This commit is contained in:
parent
98a7baf16e
commit
6411130c85
|
@ -105,7 +105,7 @@ sub start_xserver {
|
||||||
for (1 .. $parallel) {
|
for (1 .. $parallel) {
|
||||||
my $socket = fork_xserver($keep_xserver_output, $displaynum,
|
my $socket = fork_xserver($keep_xserver_output, $displaynum,
|
||||||
'Xephyr', ":$displaynum", '-screen', '1280x800',
|
'Xephyr', ":$displaynum", '-screen', '1280x800',
|
||||||
'-nolisten', 'tcp');
|
'-nolisten', 'tcp', '-name', "i3test");
|
||||||
push(@displays, ":$displaynum");
|
push(@displays, ":$displaynum");
|
||||||
push(@sockets_waiting, $socket);
|
push(@sockets_waiting, $socket);
|
||||||
$displaynum++;
|
$displaynum++;
|
||||||
|
|
Loading…
Reference in New Issue