From 0bc73f526d44fa40023144240b221cbed49da3c6 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Thu, 19 Jun 2014 12:17:05 +0200 Subject: [PATCH] tests: explicitly set input hint MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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). --- testcases/lib/i3test.pm | 1 + 1 file changed, 1 insertion(+) 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 -- 2.39.5