docs/userguide: the correct command is 'floating enable', not 'mode floating' (Thanks Sander)
Fixes: #453
This commit is contained in:
parent
b4882dc2b8
commit
92481b133c
|
@ -437,7 +437,7 @@ for_window [criteria] command
|
||||||
*Examples*:
|
*Examples*:
|
||||||
------------------------------------------------
|
------------------------------------------------
|
||||||
# enable floating mode for all XTerm windows
|
# 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:
|
# Make all urxvts use a 1-pixel border:
|
||||||
for_window [class="urxvt"] border 1pixel
|
for_window [class="urxvt"] border 1pixel
|
||||||
|
@ -445,7 +445,7 @@ for_window [class="urxvt"] border 1pixel
|
||||||
# A less useful, but rather funny example:
|
# A less useful, but rather funny example:
|
||||||
# makes the window floating as soon as I change
|
# makes the window floating as soon as I change
|
||||||
# directory to ~/work
|
# directory to ~/work
|
||||||
for_window [title="x200: ~/work"] mode floating
|
for_window [title="x200: ~/work"] floating enable
|
||||||
------------------------------------------------
|
------------------------------------------------
|
||||||
|
|
||||||
=== Variables
|
=== Variables
|
||||||
|
|
|
@ -991,7 +991,7 @@ assign:
|
||||||
/* Compatibility with older versions: If the assignment target starts
|
/* Compatibility with older versions: If the assignment target starts
|
||||||
* with ~, we create the equivalent of:
|
* with ~, we create the equivalent of:
|
||||||
*
|
*
|
||||||
* for_window [class="foo"] mode floating
|
* for_window [class="foo"] floating enable
|
||||||
*/
|
*/
|
||||||
if (*workspace == '~') {
|
if (*workspace == '~') {
|
||||||
workspace++;
|
workspace++;
|
||||||
|
|
Loading…
Reference in New Issue