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
next
Orestis 2017-09-14 23:10:16 +03:00 committed by Michael Stapelberg
parent 98a7baf16e
commit 6411130c85
1 changed files with 1 additions and 1 deletions

View File

@ -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++;