]> git.sur5r.net Git - i3/i3/commit
tests: add sync_with_i3 after open_window
authorMichael Stapelberg <michael@stapelberg.de>
Tue, 3 Oct 2017 07:58:10 +0000 (09:58 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Mon, 23 Oct 2017 19:04:20 +0000 (21:04 +0200)
commit5d55f93eb35d8a0626cef09b8de250b884e06eb8
tree9932934d043a0c885c301933b5a8f56c0b8258aa
parent4f751610c2a51fb35755db87fafee8598d6d7bd3
tests: add sync_with_i3 after open_window

We need to set dont_map => 1 on the sync window to prevent an endless loop.

Further, t/219-ipc-window-focus.t made assumptions about windows being named
incrementally, and that assumption is broken by the sync window opened by the
first sync_with_i3 call from open_window, so use the more reliable ->name.
testcases/lib/i3test.pm.in
testcases/t/219-ipc-window-focus.t