Bugfix: Correctly fix the percent values for resizing when making a floating con tiling (Thanks mseed) (+testcase)

This commit is contained in:
Michael Stapelberg
2011-02-28 23:59:56 +01:00
parent b595ff05c5
commit 33c2b4e582
2 changed files with 22 additions and 5 deletions

View File

@ -0,0 +1,20 @@
#!perl
# vim:ts=4:sw=4:expandtab
#
# Regression test for setting a window to floating, tiling and opening a new window
#
use Time::HiRes qw(sleep);
use i3test;
my $tmp = get_unused_workspace;
cmd "workspace $tmp";
cmd 'open';
cmd 'mode toggle';
cmd 'mode toggle';
cmd 'open';
does_i3_live;
done_testing;