X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=testcases%2Ft%2F185-scratchpad.t;h=fd3827f740c16de5b6526b237d74466c9c944f32;hb=HEAD;hp=efb5d002c1b6cb60985aec7665ea7d6a8b89f822;hpb=5a0f02b7ff310f1b928ad4f8bc841b2ed51ab166;p=i3%2Fi3 diff --git a/testcases/t/185-scratchpad.t b/testcases/t/185-scratchpad.t index efb5d002..fd3827f7 100644 --- a/testcases/t/185-scratchpad.t +++ b/testcases/t/185-scratchpad.t @@ -517,4 +517,20 @@ fresh_workspace; $result = cmd 'scratchpad show'; is($result->[0]->{success}, 1, 'call to scratchpad in another workspace succeeded'); +################################################################################ +# 18: Disabling floating for a scratchpad window should not work. +################################################################################ + +kill_all_windows; + +$ws = fresh_workspace; +$window = open_window; +cmd 'move scratchpad'; +cmd '[id=' . $window->id . '] floating disable'; + +is(scalar @{get_ws_content($ws)}, 0, 'no window in workspace'); +cmd 'scratchpad show'; +is($x->input_focus, $window->id, 'scratchpad window shown'); + + done_testing;