testcases: move i3test::X11 from 170-force_focus_wrapping.t into i3test.pm
This commit is contained in:
committed by
Michael Stapelberg
parent
af810df8da
commit
e72899efb6
@ -449,4 +449,14 @@ sub launch_with_config {
|
||||
return $pid;
|
||||
}
|
||||
|
||||
package i3test::X11;
|
||||
use parent 'X11::XCB::Connection';
|
||||
|
||||
sub input_focus {
|
||||
my $self = shift;
|
||||
i3test::sync_with_i3($self);
|
||||
|
||||
return $self->SUPER::input_focus(@_);
|
||||
}
|
||||
|
||||
1
|
||||
|
Reference in New Issue
Block a user