Many of the .IN tags seem to have been lost in translation before this.
Converted those still in comments with:
perl -i -p -e 's{\<\!-- \.IN "([^"]+)" "" "\@DEF\@" --\>}{<indexterm significance="preferred"><primary>$1</primary></indexterm>}' *.xml
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Unrelated to the previous patches, the new value simply reflects
the reality that the minimum level for autoconf to configure
all x.org modules is 2.60 dated June 2006.
ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.60.tar.gz
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
This macro aggregate a number of existing macros that sets commmon
X.Org components configuration options. It shields the configuration file from
future changes.
Using common defaults will reduce errors and maintenance.
Only the very small or inexistent custom section need periodic maintenance
when the structure of the component changes. Do not edit defaults.
Many laptops provide a key to enable or disable the touchpad and the
trackstick. On Lenovo T61s, this key is located on Fn + F8.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Includes changing remaining sun ifdef's to check for standard-conformant /
non-namespace-polluting #ifdef __sun instead of older #ifdef sun.
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Fixes mass damage caused by ced38e880b
moving the includes for unistd.h, fcntl.h, etc. from the else for
X_NOT_STDC_ENV into the #else for #ifndef _XOS_H_, which made them
go away for everyone.
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Now that macros named min/max rather than MIN/MAX are used consistently in the
X server, we need to ensure they work for Xwin builds. Change Xwindows.h from
simply destroying any definition of min/max, to avoiding defining them but
allowing any pre-existing definition to stand.
Also, try to improve the comment describing why this madness is needed in the
first place, and remove a no-longer needed macro definition of sleep()
At the moment, we have the following keysyms defined to put a computer into a
sleep state:
XF86XK_Standby 0x1008FF10 /* System into standby mode */
XF86XK_PowerDown 0x1008FF21 /* Deep sleep the system */
XF86XK_Sleep 0x1008FF2F /* Put system to sleep */
Proposed change by Richard Hughes:
"The nomenclature I've been trying to make stick
(most projects now use this) for a few years now is:
standby: high sleep state, nobody uses this any more
hibernate: sleep to disk - slow, but can remove power
suspend: sleep to ram - fast, but can't remove power
hybrid sleep: sleep to both, slow, and can remove power, but quick to
resume if you don't - most users don't use this"
This patch adds XF86XK_Suspend and XF86XK_Hibernate. The behaviour of
XF86XK_Sleep can then be configured on a per-session basis.
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
Several COMBINING characters are used in libX11's Compose tables
where dead keys should be used; these are the two most-used which
so far have not had equivalent dead keys.