~peter-pearse/ubuntu/natty/libx11/prop001

« back to all changes in this revision

Viewing changes to man/xkb/XkbFreeControls.man

  • Committer: Bazaar Package Importer
  • Author(s): Julien Cristau, Julien Cristau, Josh Triplett
  • Date: 2007-08-02 04:13:46 UTC
  • mfrom: (1.1.4 upstream) (2.1.1 etch)
  • Revision ID: james.westby@ubuntu.com-20070802041346-yvhplp1k16naqg3c
Tags: 2:1.1.3-1
[ Julien Cristau ]
* New upstream release.
  + Fix locking in _XimGetWindowEventmask (closes: #427296).
  + fix XGetMotionEvents arguments order (closes: #431421).
  + XGetCommand(3) clarified (closes: #133348).
  + XrmCombineDatabase(3) fixed (closes: #393434).
* Install the upstream NEWS file in libx11-6 in addition to the git
  changelog.
* Use binary:Version instead of Source-Version in debian/control.

[ Josh Triplett ]
* Expand the description of the problem with Sun Java in libx11-6.NEWS.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
'\" t
 
2
.\" Copyright (c) 1999 - Sun Microsystems, Inc.
 
3
.\" All rights reserved.
 
4
.\" 
 
5
.\" Permission is hereby granted, free of charge, to any person obtaining a
 
6
.\" copy of this software and associated documentation files (the
 
7
.\" "Software"), to deal in the Software without restriction, including
 
8
.\" without limitation the rights to use, copy, modify, merge, publish,
 
9
.\" distribute, and/or sell copies of the Software, and to permit persons
 
10
.\" to whom the Software is furnished to do so, provided that the above
 
11
.\" copyright notice(s) and this permission notice appear in all copies of
 
12
.\" the Software and that both the above copyright notice(s) and this
 
13
.\" permission notice appear in supporting documentation.
 
14
.\" 
 
15
.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
 
16
.\" OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 
17
.\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
 
18
.\" OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
 
19
.\" HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
 
20
.\" INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
 
21
.\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 
22
.\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 
23
.\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
24
.\" 
 
25
.\" Except as contained in this notice, the name of a copyright holder
 
26
.\" shall not be used in advertising or otherwise to promote the sale, use
 
27
.\" or other dealings in this Software without prior written authorization
 
28
.\" of the copyright holder.
 
29
.\"
 
30
.TH XkbFreeControls __libmansuffix__ __xorgversion__ "XKB FUNCTIONS"
 
31
.SH NAME
 
32
XkbFreeControls \- Frees memory used by the ctrls member of an XkbDescRec structure
 
33
.SH SYNOPSIS
 
34
.B void XkbFreeControls
 
35
(
 
36
.I xkb,
 
37
.I which,
 
38
.I free_all
 
39
)
 
40
.br
 
41
      XkbDescPtr \fIxkb\fP\^;
 
42
.br
 
43
      unsigned int \fIwhich\fP\^;
 
44
.br
 
45
      Bool \fIfree_all\fP\^;
 
46
.if n .ti +5n
 
47
.if t .ti +.5i
 
48
.SH ARGUMENTS
 
49
.TP
 
50
.I \- xkb
 
51
Xkb description in which to free controls components
 
52
.TP
 
53
.I \- which
 
54
mask of components of ctrls to free
 
55
.TP
 
56
.I \- free_all
 
57
True => free everything + ctrls itself
 
58
.SH DESCRIPTION
 
59
.LP
 
60
.I XkbFreeControls 
 
61
frees the specified components of the 
 
62
.I ctrls 
 
63
field in the 
 
64
.I xkb 
 
65
keyboard description and sets the corresponding structure component values to NULL or zero. The 
 
66
.I which 
 
67
mask specifies the fields of 
 
68
.I ctrls 
 
69
to be freed and can contain any of the controls components specified in Table 1.
 
70
 
 
71
Table 1 shows the actual values for the individual mask bits used to select 
 
72
controls for 
 
73
modification and to enable and disable the control. Note that the same mask bit 
 
74
is used to 
 
75
specify general modifications to the parameters used to configure the control 
 
76
(which), and to 
 
77
enable and disable the control (enabled_ctrls). The anomalies in the table (no 
 
78
"ok" in column) 
 
79
are for controls that have no configurable attributes; and for controls that are 
 
80
not boolean 
 
81
controls and therefore cannot be enabled or disabled.
 
82
 
 
83
.TS
 
84
c s s s
 
85
l l l l
 
86
l l l l
 
87
l l l l. 
 
88
Table 1 Controls Mask Bits
 
89
_
 
90
Mask Bit        which or        enabled Value
 
91
        changed_ctrls   _ctrls
 
92
_
 
93
XkbRepeatKeysMask       ok      ok      (1L<<0)
 
94
XkbSlowKeysMask ok      ok      (1L<<1)
 
95
XkbBounceKeysMask       ok      ok      (1L<<2)
 
96
XkbStickyKeysMask       ok      ok      (1L<<3)
 
97
XkbMouseKeysMask        ok      ok      (1L<<4)
 
98
XkbMouseKeysAccelMask   ok      ok      (1L<<5)
 
99
XkbAccessXKeysMask      ok      ok      (1L<<6)
 
100
XkbAccessXTimeoutMask   ok      ok      (1L<<7)
 
101
XkbAccessXFeedbackMask  ok      ok      (1L<<8)
 
102
XkbAudibleBellMask              ok      (1L<<9)
 
103
XkbOverlay1Mask         ok      (1L<<10)
 
104
XkbOverlay2Mask         ok      (1L<<11)
 
105
XkbIgnoreGroupLockMask          ok      (1L<<12)
 
106
XkbGroupsWrapMask       ok              (1L<<27)
 
107
XkbInternalModsMask     ok              (1L<<28)
 
108
XkbIgnoreLockModsMask   ok              (1L<<29)
 
109
XkbPerKeyRepeatMask     ok              (1L<<30)
 
110
XkbControlsEnabledMask  ok              (1L<<31)
 
111
XkbAccessXOptionsMask   ok      ok      (XkbStickyKeysMask | 
 
112
                        XkbAccessXFeedbackMask)
 
113
XkbAllBooleanCtrlsMask          ok      (0x00001FFF) 
 
114
XkbAllControlsMask      ok              (0xF8001FFF)
 
115
.TE
 
116
 
 
117
If 
 
118
.I free_all 
 
119
is True, 
 
120
.I XkbFreeControls 
 
121
frees every non-NULL structure component in the controls, frees the XkbControlsRec structure referenced by the 
 
122
.I ctrls 
 
123
member of 
 
124
.I xkb, 
 
125
and sets 
 
126
.I ctrls 
 
127
to NULL.