Implement fake-outputs option (cmdline, cfg) for multi-monitor testing
This kills the dependency on xdmx and makes the testsuite simpler and more flexible (in the output sizes / configurations).
This commit is contained in:
@ -288,7 +288,7 @@ sub fresh_workspace {
|
||||
if (exists($args{output})) {
|
||||
my $i3 = i3(get_socket_path());
|
||||
my $tree = $i3->get_tree->recv;
|
||||
my $output = first { $_->{name} eq "xinerama-$args{output}" }
|
||||
my $output = first { $_->{name} eq "fake-$args{output}" }
|
||||
@{$tree->{nodes}};
|
||||
die "BUG: Could not find output $args{output}" unless defined($output);
|
||||
# Get the focused workspace on that output and switch to it.
|
||||
|
Reference in New Issue
Block a user