2011-02-28 14:44:23 -05:00
|
|
|
#!perl
|
|
|
|
# vim:ts=4:sw=4:expandtab
|
|
|
|
#
|
|
|
|
# Regression: floating windows are tiling after restarting, closing them crashes i3
|
|
|
|
#
|
2011-03-09 14:25:17 -05:00
|
|
|
use i3test;
|
2011-02-28 14:44:23 -05:00
|
|
|
|
2011-03-09 14:25:17 -05:00
|
|
|
my $tmp = fresh_workspace;
|
2011-02-28 14:44:23 -05:00
|
|
|
|
|
|
|
cmd 'open';
|
|
|
|
cmd 'mode toggle';
|
|
|
|
cmd 'restart';
|
|
|
|
|
|
|
|
sleep 0.5;
|
|
|
|
|
|
|
|
diag('Checking if i3 still lives');
|
|
|
|
|
|
|
|
does_i3_live;
|
|
|
|
|
|
|
|
my $ws = get_ws($tmp);
|
|
|
|
diag('ws = ' . Dumper($ws));
|
2011-03-09 14:25:17 -05:00
|
|
|
|
|
|
|
done_testing;
|