Do not show scratchpad windows after 'move to position'

Fixes #3832
This commit is contained in:
Orestis Floros
2019-10-15 18:40:59 +03:00
parent a638e0408e
commit b48ff2c5ec
2 changed files with 21 additions and 0 deletions

View File

@ -532,5 +532,21 @@ is(scalar @{get_ws_content($ws)}, 0, 'no window in workspace');
cmd 'scratchpad show';
is($x->input_focus, $window->id, 'scratchpad window shown');
################################################################################
# 19: move position commands do not show scratchpad window
# See issue #3832
################################################################################
kill_all_windows;
fresh_workspace;
$first = open_window;
$second = open_window;
cmd '[id=' . $first->id . '] move to scratchpad, move position 100 100';
is ($x->input_focus, $second->id, 'moving scratchpad window does not show it');
cmd '[id=' . $first->id . '] move position center';
is ($x->input_focus, $second->id, 'centering scratchpad window does not show it');
done_testing;