Alan Coopersmith
b6f5c54fc6
xfree86: Change default font path to match configure.ac's --default-font-path.
...
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-09-14 16:03:18 +10:00
Peter Hutterer
23dc4678e9
dmx: use top_builddir, not top_srcdir to get libxfixes.la
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Tested-by: Byeong-ryeol Kim <brofkims@gmail.com>
2009-09-14 14:40:37 +10:00
Peter Hutterer
c626a5578a
xfree86: fix VT_WAITACTIVE control flow ( #11477 )
...
Move misplaced } to get the flow of
if (!ShareVTs) {
VT_ACTIVATE
VT_WAITACTIVE
}
X.Org Bug 11477 <http://bugs.freedesktop.org/show_bug.cgi?id=11477 >
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Daniel Stone <daniel@fooishbar.org>
2009-09-14 12:10:13 +10:00
Kevin E Martin
e85775aa64
Include <X11/extensions/dmx.h> and remove _DMX_SERVER_ define.
...
Fixes build with newer dmx header files that have been split between dmx.h
and dmxext.h. _DMX_SERVER_ is no longer needed with the split headers.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-09-14 09:32:53 +10:00
Peter Hutterer
72607960c1
dmx: Remove some dead code.
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-09-13 10:30:17 +10:00
Peter Hutterer
88187ad889
dmx: purge DMX EQ leftovers
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-09-13 10:30:17 +10:00
Peter Hutterer
f3aaa46f27
dmx: formatting fix to improve readability
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-09-13 10:30:17 +10:00
Peter Hutterer
7a588c833e
dmx: Default rules are now base, not xfree86
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-09-13 10:30:16 +10:00
Peter Hutterer
33243ae971
dmx: include xfixes lib, reshuffle include order to resolve linker errors.
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-09-13 10:30:16 +10:00
Peter Hutterer
2d46678762
dmx: remove dmx-internal event queue.
...
The EQ is in the DIX now.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-09-13 10:30:16 +10:00
Peter Hutterer
545f11139d
dmx: compiler warning fix (mixed declarations + code)
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-09-13 10:30:16 +10:00
Peter Hutterer
7d703af74c
dmx: get the state from XKB for dmxCheckSpecialKeys
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-09-13 10:30:16 +10:00
Peter Hutterer
6e52f92331
dmx: fix dmxKeySymToKeyCode to work with mandatory XKB.
...
Approach taken is inefficient, it converts the xkb symbol table to a core
symbol table first and then extracts the keycode from there.
Consider this a todo for a rainy afternoon when the beer fridge demands
emptying.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-09-13 10:30:16 +10:00
Peter Hutterer
61ae0a5ca5
dmx: fix up dmxKeyCodeToKeySym for XKB-only.
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-09-13 10:30:15 +10:00
Peter Hutterer
9caba3e2ab
dmx: fix two calls to InitKeyboardDeviceStruct.
...
Takes RMLVO now instead of the keysyms directly.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-09-13 10:30:15 +10:00
Peter Hutterer
29b9a10dad
dmx: XkbComponentNamesRec doesn't have a keymap field anymore.
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-09-13 10:30:15 +10:00
Peter Hutterer
a6f3f6a63a
dmx: switch lnx-input and usb-input over to xkb-only.
...
kbd*Convert are nearly identical, it just asks for merging. Not today
though.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-09-13 10:30:15 +10:00
Peter Hutterer
5d81aee5f7
dmx: include xkbsrv.h to silence compiler.
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-09-13 10:30:15 +10:00
Alan Coopersmith
8fb3fa28a5
compiler.h: include <string.h> before using memmove()
...
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-09-11 11:21:26 -07:00
Tiago Vignatti
d908ee6e54
Revert "Make sys.c use compiler.h unaligned access functions"
...
This reverts commit 1b30545c04
.
Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-09-11 15:31:04 +10:00
Tiago Vignatti
281ebb453d
xfree86: vgaarb: close and cleanup vga arbiter
...
So far there are no apparently issues on not closing the fd. But let's do the
right job here.
Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com>
Acked-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-09-11 09:19:36 +10:00
Martin-Éric Racine
9871f9be4e
Use lowercase PCI vendor ID for NSC.
2009-09-09 13:43:45 +03:00
Daniel Stone
f4350c66b4
fbdevhw: Test for graphics:fb%d as well as graphics/fb%d
...
Apparently the kernel can't decide on an API to expose to userspace, so
let's just try both in the hope that one will work.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Acked-by: Michel Dänzer <michel@daenzer.net>
2009-09-09 15:59:00 +10:00
Peter Hutterer
72f6be5408
xfree86: remove now unused xf86CrtcShadowClear
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-09-09 11:36:37 +10:00
Peter Hutterer
1f24638985
kdrive: output meaningful error message for HAL devices.
...
kdrive ignores all devices from hal as they don't have the 'type' option
set. Instead of "Unrecognised device identifier!" print out "Ignoring
device from HAL." to indicate that the errors surrounding the device don't
really matter.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
2009-09-09 10:47:11 +10:00
Peter Hutterer
ae812bb796
Xnest: set the default pointer accel to the host's values ( #10013 )
...
The defaultPointerControl holds compile-time defaults for pointer
acceleration. If an Xnest instance is started, it resets the hosts pointer
accel values to these built-in defaults instead of using the host values.
This patch queries the host for the values before initializing the device,
thus leaving the host values untouched.
X.Org Bug 10013 <http://bugs.freedesktop.org/show_bug.cgi?id=10013 >
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-09-09 10:47:08 +10:00
Peter Hutterer
447bd4ce90
kdrive: fix sdl build by removing old keySymsRec references.
...
These are set in kinput now through InitKeyboardDeviceStruct.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-09-09 10:31:15 +10:00
Peter Hutterer
e9a507acca
kdrive: remove xkb member from KdKeyboardInfo
...
Wasn't being used by anyone.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-09-09 10:31:08 +10:00
Martin-Éric Racine
cafa7c5f90
Added comment with the PCI device ID of Geode SCx200 series.
2009-09-08 23:52:52 +03:00
Jeremy Huddleston
1e0caf9a2c
XQuartz: launchd: Fallback on :0 if prefix:0 gives an error for the socket name
...
(cherry picked from commit 647c871dc9f2d0adc172b401cde89ffbdfcc4d7a)
2009-09-06 14:06:28 -07:00
Jeremy Huddleston
081f72390a
XQuartz: Fix "warning: function declaration isn’t a prototype" noise
...
(cherry picked from commit 9a77905a975e562daa4230739937bbb0b4caf087)
2009-09-06 14:06:16 -07:00
Jeremy Huddleston
7ece2cb220
XQuartz: pbproxy: 64bit fixes: Properly process an array of Atoms
...
(cherry picked from commit 1b659cda1af02762a31cc7875e457b08c8dc68b5)
2009-09-06 14:06:06 -07:00
Jeremy Huddleston
1747120043
XQuartz: Fix a strcpy/strcmp typo
...
(cherry picked from commit 701c24da3ef76a05ccb2d7e84ccfa1b7c5d38e15)
2009-09-05 02:53:59 -07:00
Jeremy Huddleston
1f61bbeffd
XQuartz: Check the DISPLAY environment variable to see if the socket at startup is ours. If not, ignore it and fork/exec startx.
...
(cherry picked from commit 3d5e10cce360a04bf917227615fb9b825675124f)
2009-09-04 00:42:44 -07:00
Jeremy Huddleston
0a361d0e5f
XQuartz: Use --with-launchd-id-prefix for consistency with xinit
...
Also actually honor LAUNCHD_ID_PREFIX and APPLE_APPLICATION_NAME
(cherry picked from commit 990038ab006b2f5e03dcef385514ba4e4584bd25)
2009-09-04 00:42:31 -07:00
Peter Hutterer
58d9a4c635
xfree86: fix make distcheck after removal of Domain.note and RAC.Notes.
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-09-04 15:07:14 +10:00
Peter Hutterer
6fb01c8286
require xf86vidmodeproto 2.2.99.1 or newer.
2009-09-04 12:51:02 +10:00
Peter Hutterer
59e731ef66
xfree86: silence some xf86dgaproto compiler warnings
...
We already require xf86dgaproto > 2.0.99 since 6fffcd582
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-09-04 12:51:02 +10:00
Peter Hutterer
ead57a1353
xfree86: silence 'unused variable' compiler warning
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-09-04 12:51:02 +10:00
Martin-Éric Racine
09f0ee1324
Formatted recent Geode PCI ID changes to fit a 80-column coding style.
2009-09-04 04:17:09 +03:00
Martin-Éric Racine
a17b50b130
Further explained what the Geode PCI ID is all about as comments.
2009-09-04 03:51:01 +03:00
Martin-Éric Racine
afd800dae4
Removed unnecessary curly braces for Geode LX PCI ID.
2009-09-04 03:41:08 +03:00
Martin-Éric Racine
842b7a47d5
Updated the PCI Vendor and Device IDs for all Geode variants.
...
In practice, some of the native drivers for older Geode products
have become deprecated due to lack of e.g. libpciaccess upgrade,
but that's OK, since most distributions don't ship them anymore.
In that case, we'll let X server fall back to good old VESA.
2009-09-04 03:25:32 +03:00
Adam Jackson
17545ed80e
randr: Fix crtcs using set_mode_major()
...
We'd never mark the crtc as active, meaning (among other things) gamma
upload wouldn't work.
2009-09-02 14:40:07 -04:00
Dave Airlie
291408980f
vgaarb: protect fini as well just in case
2009-09-02 20:14:30 +10:00
Dave Airlie
8aeadbff08
vgaarb: if arb init fails, make sure locking doesn't occur.
...
pointed out by Martin Jansa on irc.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-09-02 19:09:14 +10:00
Michael Witrant
1c37be8098
XFree86: Linux: Fix 100% CPU usage with ShareVTs and kbd
...
Leave consoleFd open over the course of the server, even though any use
of it in this context is likely to be disastrous.
Signed-off-by: Michael Witrant <mike@lepton.fr>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
2009-09-01 11:25:49 +10:00
Matt Turner
5ef53a94ce
alpha: kill xf86SlowBCopyToBus and xf86SlowBCopyFromBus
...
xf86SlowBCopyToBus and xf86SlowBCopyFromBus cause segfaults on my
system.
Also remove associated slowbcopy_tobus/slowbcopy_frombus macros.
Signed-off-by: Matt Turner <mattst88@gmail.com>
2009-08-31 20:25:15 -04:00
Jeremy Huddleston
a8e634b86d
XQuartz: GLX: Drawable does not contain resize anymore.
...
(cherry picked from commit 1e642f22fbf029bb3917091cb5fa2f78b4a92f62)
2009-08-31 15:59:45 -07:00
Matt Turner
1b30545c04
Make sys.c use compiler.h unaligned access functions
...
Signed-off-by: Matt Turner <mattst88@gmail.com>
2009-08-31 16:16:02 -04:00