Workaround older Solaris releases using types from <sys/types.h> in
<sys/byteorder.h> and not including it directly.
(That was fixed in OpenSolaris/Solaris 11 as part of:
http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4483139 )
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Acked-by: Pat Kane <pekane52@gmail.com>
Those keysyms will be used to report events from the hardware. Hardware
like the HP laptops emit 2 separate keycodes when the touchpad is enabled
or disabled. So we can catch those in user-space and display a popup.
https://bugs.freedesktop.org/show_bug.cgi?id=31300
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Currenlty the xorg.css file is copied in each location
where a DocBook/XML file resides. This produces about
70 copies in the $(docdir) install tree.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Try to avoid problems similar to those fixed in libX11
commit 511c4f6d29b2da4f71093feabcbb3913cb5d12a7
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
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()