make in-place restarts use socket activation, too (for faster/less flaky tests)
This commit is contained in:
@ -498,6 +498,9 @@ sub get_socket_path {
|
||||
my $cookie = $x->get_property(0, $x->get_root_window(), $atom->id, GET_PROPERTY_TYPE_ANY, 0, 256);
|
||||
my $reply = $x->get_property_reply($cookie->{sequence});
|
||||
my $socketpath = $reply->{value};
|
||||
if ($socketpath eq "/tmp/nested-$ENV{DISPLAY}") {
|
||||
$socketpath .= '-activation';
|
||||
}
|
||||
$_cached_socket_path = $socketpath;
|
||||
return $socketpath;
|
||||
}
|
||||
|
Reference in New Issue
Block a user