From: Michael Stapelberg Date: Thu, 19 Jun 2014 10:17:05 +0000 (+0200) Subject: tests: explicitly set input hint X-Git-Tag: 4.9~108 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0bc73f526d44fa40023144240b221cbed49da3c6;p=i3%2Fi3 tests: explicitly set input hint Since i3 honors the “Globally Active Input” focus model, we need to explicitly state that we are not using that in our testcases :). This requires X11::XCB from git to work (commit 71b25dcaafc509e710b8fd7de20c97ac3549fc39). --- diff --git a/testcases/lib/i3test.pm b/testcases/lib/i3test.pm index a6b982ba..212e78fd 100644 --- a/testcases/lib/i3test.pm +++ b/testcases/lib/i3test.pm @@ -337,6 +337,7 @@ sub open_window { $args{name} //= 'Window ' . counter_window(); my $window = $x->root->create_child(%args); + $window->add_hint('input'); if ($before_map) { # TODO: investigate why _create is not needed