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).
This commit is contained in:
Michael Stapelberg 2014-06-19 12:17:05 +02:00
parent 8a618e4b00
commit 0bc73f526d

View File

@ -337,6 +337,7 @@ sub open_window {
$args{name} //= 'Window ' . counter_window(); $args{name} //= 'Window ' . counter_window();
my $window = $x->root->create_child(%args); my $window = $x->root->create_child(%args);
$window->add_hint('input');
if ($before_map) { if ($before_map) {
# TODO: investigate why _create is not needed # TODO: investigate why _create is not needed