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" >
9 <!-- $Id: PointerKey.xml,v 1.3 2007/06/16 12:38:46 griph Exp $ -->
11 <section id='PointerKey'>
12 <title>PointerKey</title>
15 <command>PointerKey</command
17 >(<replaceable>window</replaceable
20 ><replaceable>Keyname</replaceable
23 ><replaceable>Context</replaceable
26 ><replaceable>Modifiers</replaceable
29 ><replaceable>Function</replaceable
33 <para>This command works exactly like the
35 command. The only difference is that the binding operates on the
36 window under the pointer. Normal key bindings operate on the
37 focused window instead. The
38 <emphasis remap='B'>PointerKey</emphasis>
39 command can for example be used to bind keys to the root window if
41 <fvwmref cmd="Style" opt="SloppyFocus"/> or
42 <fvwmref cmd="Style" opt="ClickToFocus"/>.
43 However, some applications (xterm is one example) are unable to
44 handle this key anymore, even if the pointer is over the xterm
45 window. It is recommended to use the
46 <emphasis remap='B'>PointerKey</emphasis>
47 command only for key combinations that are not needed in any
48 application window.</para>
53 <fvwmref cmd="Style"/> * <fvwmref cmd="Style" opt="SloppyFocus"/>
54 PointerKey f1 a m <fvwmref cmd="Menu"/> MainMenu