cvsimport
[fvwm.git] / doc / commands / FocusStyle.xml
blob419edca1ce05ed2010aa5a318e025ec8cabad751
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!DOCTYPE part PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3   "../docbook-xml/docbookx.dtd"
5 <!ENTITY % myents SYSTEM "../fvwm.ent" >
6 %myents;
7 ]>
9 <!-- $Id: FocusStyle.xml,v 1.3 2007/06/16 12:38:46 griph Exp $ -->
11 <section id='FocusStyle'>
12 <title>FocusStyle</title>
14 <cmdsynopsis>
15         <command>FocusStyle</command
16         ><arg choice='plain'
17                 ><replaceable>stylename</replaceable
18         ></arg
19         ><arg choice='plain'><replaceable
20                 >options</replaceable
21         ></arg>
22 </cmdsynopsis>
24 <para>works exactly like the
25 <fvwmref cmd="Style"/>
26 command, but accepts only the focus policy related styles
27 beginning with "FP".  The prefix can be removed, but at the cost
28 of a little bit of time.
29 <emphasis remap='B'>FocusStyle</emphasis>
30 is meant to make the configuration file more readable.  Example:</para>
32 <programlisting>
33 FocusStyle * EnterToFocus, !LeaveToUnfocus
34 </programlisting>
36 <para>is equivalent to</para>
38 <programlisting>
39 <fvwmref cmd="Style"/> * FPEnterToFocus, !FPLeaveToUnfocus
40 </programlisting>
43 </section>