X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=testcases%2Ft%2F176-workspace-baf.t;h=bad76ec8987938476bde92f25071a4e78a3e9dce;hb=f3d898be4baac73a8c8f3dca4115a67111e677bd;hp=8ed33030818343e595db4cfcf9df558ad79b60b8;hpb=71ccb4bef2850bd5beab8a4ef4669bf53b5a9781;p=i3%2Fi3 diff --git a/testcases/t/176-workspace-baf.t b/testcases/t/176-workspace-baf.t index 8ed33030..bad76ec8 100644 --- a/testcases/t/176-workspace-baf.t +++ b/testcases/t/176-workspace-baf.t @@ -146,6 +146,23 @@ is(focused_ws, '6: baz', 'workspace 6 now focused'); cmd 'workspace number 6'; is(focused_ws, '5: foo', 'workspace 5 focused again'); +################################################################################ +# Place a window in the scratchpad, see if BAF works after showing the +# scratchpad window. +################################################################################ + +my $scratchwin = open_window; +cmd 'move scratchpad'; + +# show scratchpad window +cmd 'scratchpad show'; + +# hide scratchpad window +cmd 'scratchpad show'; + +cmd 'workspace back_and_forth'; +is(focused_ws, '6: baz', 'workspace 6 now focused'); + exit_gracefully($pid); done_testing;