File: PointerKey.xml

package info (click to toggle)
fvwm 1%3A2.7.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 15,968 kB
  • sloc: ansic: 145,836; xml: 17,096; perl: 7,237; sh: 5,100; makefile: 1,101; yacc: 688; lex: 187; sed: 11
file content (58 lines) | stat: -rw-r--r-- 1,565 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE part PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
  "../docbook-xml/docbookx.dtd"
[
<!ENTITY % myents SYSTEM "../fvwm.ent" >
%myents;
]>

<!-- $Id$ -->

<section id='PointerKey'>
<title>PointerKey</title>

<cmdsynopsis>
	<command>PointerKey</command
	><arg choice='opt'
		>(<replaceable>window</replaceable
	>)</arg
	><arg choice='plain'
		><replaceable>Keyname</replaceable
	></arg
	><arg choice='plain'
		><replaceable>Context</replaceable
	></arg
	><arg choice='plain'
		><replaceable>Modifiers</replaceable
	></arg
	><arg choice='plain'
		><replaceable>Function</replaceable
	></arg>
</cmdsynopsis>

<para>This command works exactly like the
<fvwmref cmd="Key"/>
command.  The only difference is that the binding operates on the
window under the pointer.  Normal key bindings operate on the
focused window instead.  The
<emphasis remap='B'>PointerKey</emphasis>
command can for example be used to bind keys to the root window if
you are using
<fvwmref cmd="Style" opt="SloppyFocus"/> or
<fvwmref cmd="Style" opt="ClickToFocus"/>.
However, some applications (xterm is one example) are unable to
handle this key anymore, even if the pointer is over the xterm
window.  It is recommended to use the
<emphasis remap='B'>PointerKey</emphasis>
command only for key combinations that are not needed in any
application window.</para>

<para>Example:</para>

<programlisting>
<fvwmref cmd="Style"/> * <fvwmref cmd="Style" opt="SloppyFocus"/>
PointerKey f1 a m <fvwmref cmd="Menu"/> MainMenu
</programlisting>


</section>