]> git.sur5r.net Git - i3/i3/commitdiff
docs/userguide: the correct command is 'floating enable', not 'mode floating' (Thanks...
authorMichael Stapelberg <michael@stapelberg.de>
Wed, 3 Aug 2011 18:47:29 +0000 (20:47 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Wed, 3 Aug 2011 18:48:28 +0000 (20:48 +0200)
Fixes: #453
docs/userguide
src/cfgparse.y

index e7a0459b9a4221112428e1e4b1bfe2815c40d7e7..a384f6c2fc0c9f32a0467bddba1d44a0629fe42d 100644 (file)
@@ -437,7 +437,7 @@ for_window [criteria] command
 *Examples*:
 ------------------------------------------------
 # enable floating mode for all XTerm windows
-for_window [class="XTerm"] mode floating
+for_window [class="XTerm"] floating enable
 
 # Make all urxvts use a 1-pixel border:
 for_window [class="urxvt"] border 1pixel
@@ -445,7 +445,7 @@ for_window [class="urxvt"] border 1pixel
 # A less useful, but rather funny example:
 # makes the window floating as soon as I change
 # directory to ~/work
-for_window [title="x200: ~/work"] mode floating
+for_window [title="x200: ~/work"] floating enable
 ------------------------------------------------
 
 === Variables
index 53b08cda1ad146898c44aaf08544fc77362e4310..06d9c664a2161caebdd9a1115fdb7c0c813e291f 100644 (file)
@@ -991,7 +991,7 @@ assign:
         /* Compatibility with older versions: If the assignment target starts
          * with ~, we create the equivalent of:
          *
-         * for_window [class="foo"] mode floating
+         * for_window [class="foo"] floating enable
          */
         if (*workspace == '~') {
             workspace++;