From: Ingo Bürk Date: Tue, 9 Jun 2015 21:13:15 +0000 (+0200) Subject: Remove dead documentation for non-existing feature "stack-limit". X-Git-Tag: 4.11~93^2~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9571200baa387eb0b4b0e8afd9d540175a95adc5;p=i3%2Fi3 Remove dead documentation for non-existing feature "stack-limit". --- diff --git a/docs/stacklimit.png b/docs/stacklimit.png deleted file mode 100644 index ab5bed7a..00000000 Binary files a/docs/stacklimit.png and /dev/null differ diff --git a/docs/userguide b/docs/userguide index 2c90c50d..2f096d51 100644 --- a/docs/userguide +++ b/docs/userguide @@ -503,17 +503,11 @@ default_orientation vertical This option determines in which mode new containers on workspace level will start. -/////////////////////////////// -See also <>. -////////////////////////////// *Syntax*: --------------------------------------------- workspace_layout default|stacking|tabbed --------------------------------------------- -///////////////////////////////////////////// -new_container stack-limit -///////////////////////////////////////////// *Example*: --------------------- @@ -2063,37 +2057,9 @@ bindsym $mod+y border 1pixel bindsym $mod+u border none ---------------------------- -[[stack-limit]] - -/////////////////////////////////////////////////////////////////////////////// -TODO: not yet implemented -=== Changing the stack-limit of a container - -If you have a single container with a lot of windows inside it (say, more than -10), the default layout of a stacking container can get a little unhandy. -Depending on your screen’s size, you might end up with only half of the title -lines being actually used, wasting a lot of screen space. - -Using the +stack-limit+ command, you can limit the number of rows or columns -in a stacking container. i3 will create columns or rows (depending on what -you limited) automatically as needed. - *Syntax*: ------------------------------ -stack-limit cols|rows ------------------------------ *Examples*: -------------------- -# I always want to have two window titles in one line -stack-limit cols 2 - -# Not more than 5 rows in this stacking container -stack-limit rows 5 -------------------- - -image:stacklimit.png[Container limited to two columns] -/////////////////////////////////////////////////////////////////////////////// [[shmlog]] diff --git a/i3-migrate-config-to-v4 b/i3-migrate-config-to-v4 index b78378be..5da4e26e 100755 --- a/i3-migrate-config-to-v4 +++ b/i3-migrate-config-to-v4 @@ -117,7 +117,6 @@ for my $line (@lines) { # new_container changed only the statement name to workspace_layout if ($statement eq 'new_container') { - # TODO: new_container stack-limit print "workspace_layout$parameters\n"; next; } @@ -184,7 +183,6 @@ sub convert_command { restart reload exit - stack-limit ); my ($statement, $key, $command) = ($line =~ /([a-zA-Z_-]+)\s+([^\s]+)\s+(.*)/); diff --git a/testcases/t/171-config-migrate.t b/testcases/t/171-config-migrate.t index a0363ef3..d8f9d289 100644 --- a/testcases/t/171-config-migrate.t +++ b/testcases/t/171-config-migrate.t @@ -147,8 +147,6 @@ $input = <