Commit graph

6244 commits

Author SHA1 Message Date
Jeremy Huddleston
02287fb7f3 Removed rogue #include
(cherry picked from commit af238e99da)
2008-08-12 19:33:33 +01:00
Jeremy Huddleston
ca9830f9e6 XQuartz: Disable the Xquartz AIGLX for now since it doesn't even compile any more...
(cherry picked from commit 4545ba91e9)
2008-08-12 19:33:33 +01:00
Jeremy Huddleston
0857dde6f9 XQuartz: Re-added deprecated code fallback failsafe for keyboard layout on Leopard with some debugging spew.
(cherry picked from commit 5854e712e9)
2008-08-12 19:33:33 +01:00
Peter Hutterer
bf648a8465 dix: don't try to create events if we don't have a screen. #16898
A NULL screen may happen during server shutdown, when the output has been shut
down but the devices still generate events.

X.Org Bug 16898 <http://bugs.freedesktop.org/show_bug.cgi?id=16898>
2008-08-12 19:33:33 +01:00
Peter Hutterer
16f6720b19 xkb: actually initialise sli before using it. 2008-08-12 19:33:33 +01:00
Simon Thum
75c0e60c70 dix: remove misleading comment in ptrvelo.c
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
2008-08-12 19:33:33 +01:00
Peter Hutterer
c6e9f4471b dix: remove obsolete FIXME comment.
Thanks to Simon Thum for pointing this out.
2008-08-12 19:33:33 +01:00
Peter Hutterer
cba798dbfb dix: SetModifierMapping should only apply to the ClientPointer and it's SDs. 2008-08-12 19:33:33 +01:00
Simon Thum
7e0b1f5cd8 dix: simplified debugging helper for pointer acceleration
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2008-08-12 19:33:33 +01:00
Simon Thum
6959654fec xf86: don't replicate dix defaults for pointer acceleration
the defaults from InitVelocityData() or hypothetic driver-side changes
are now respected, not overridden.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2008-08-12 19:33:33 +01:00
Simon Thum
abdae3f4ae dix: simplify velocity tracking filters
prefer fp-mul over fp-div and remove rather pointless check

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2008-08-12 19:33:33 +01:00
Jeremy Huddleston
ba6b15d45e glcontextmodes.[hc] were not added with the removal of the meas symlinks patch. Copied from mesa head 2008.08.06.
(cherry picked from commit 409e1dd1e9)
2008-08-12 19:33:33 +01:00
Jeremy Huddleston
9d1cacbb27 XQuartz: Now properly disable xauth checking on launchd socket and mostly fix the xinitrc / launchd race condition 2008-08-12 19:33:33 +01:00
Aaron Plattner
77cb594fdb Add an xf86PrintBacktrace wrapper around xorg_backtrace to aid driver debugging. 2008-08-12 19:33:33 +01:00
Jeremy Huddleston
fb0fb890e8 XQuartz: Added code and made comments more helpful for debugging first-client-auth bug.
(cherry picked from commit a8f0d32216)
2008-08-12 19:33:33 +01:00
Jeremy Huddleston
46e7fb0ab3 XQuartz: More fd handoff cleanup.
(cherry picked from commit 199d2dcb70)
2008-08-12 19:33:33 +01:00
Jeremy Huddleston
d44c2fac58 XQuartz: Fixed some errors / typos in the preferences pane.
(cherry picked from commit e1e0c398bb)
2008-08-12 19:33:33 +01:00
Jeremy Huddleston
7965c57c86 XQUartz: UI Cleanup. Removed done/cancel buttons from Applications->Customize
(cherry picked from commit d3157ca45c)
2008-08-12 19:33:33 +01:00
Peter Hutterer
6458bfe784 xkb: ProcXkbSetDeviceInfo should work on all attached SDs.
If called with XkbUseCoreKbd, run through all attached SDs and replicate the
call. This way, we keep the SDs in sync with the MD as long as core clients
control the MDs.
2008-08-12 19:33:32 +01:00
Peter Hutterer
dff0cd5f45 xkb: ProcXkbSetGeometry should work on all attached SDs.
If called with XkbUseCoreKbd, run through all attached SDs and replicate the
call. This way, we keep the SDs in sync with the MD as long as core clients
control the MDs.
2008-08-12 19:33:32 +01:00
Peter Hutterer
b782347d8a xkb: ProcXkbSetNames should work on all attached SDs.
If called with XkbUseCoreKbd, run through all attached SDs and replicate the
call. This way, we keep the SDs in sync with the MD as long as core clients
control the MDs.
2008-08-12 19:33:32 +01:00
Peter Hutterer
5fcfebf348 xkb: ProcXkbSetNamedIndicator should work on all attached SDs.
If called with XkbUseCoreKbd, run through all attached SDs and replicate the
call. This way, we keep the SDs in sync with the MD as long as core clients
control the MDs.
2008-08-12 19:33:32 +01:00
Peter Hutterer
b4c125a03a xkb: ProcXkbSetIndicatorMap should work on all attached SDs.
If called with XkbUseCoreKbd, run through all attached SDs and replicate the
call. This way, we keep the SDs in sync with the MD as long as core clients
control the MDs.
2008-08-12 19:33:32 +01:00
Peter Hutterer
4c80eace5d xkb: ProcXkbSetCompatMap should work on all attached SDs.
If called with XkbUseCoreKbd, run through all attached SDs and replicate the
call. This way, we keep the SDs in sync with the MD as long as core clients
control the MDs.
2008-08-12 19:33:32 +01:00
Peter Hutterer
ac673553a0 xkb: ProcXkbSetMap should work on all attached SDs.
If called with XkbUseCoreKbd, run through all attached SDs and replicate the
call. This way, we keep the SDs in sync with the MD as long as core clients
control the MDs.
2008-08-12 19:33:32 +01:00
Peter Hutterer
d248282dda xkb: ProcXkbBell should work on all attached SDs.
If called with XkbUseCoreKbd, run through all attached SDs and replicate the
call. This way, we keep the SDs in sync with the MD as long as core clients
control the MDs.
2008-08-12 19:33:32 +01:00
Jeremy Huddleston
99d07caad1 XQuartz: Fixed proper processing of tablet button presses
(cherry picked from commit ca0babafa4)
2008-08-12 19:33:32 +01:00
Jeremy Huddleston
8c00d22350 XQuartz: Nuke Sparkle.
(cherry picked from commit 4991f54a8d)
2008-08-12 19:33:32 +01:00
Jeremy Huddleston
4762a2d87c XQuartz: Fixed first-client-can't-connect bug
Readded the old exec() server startup path for regression testing.
Don't use the dynamic fd addition code since it's not quite working correctly.
(cherry picked from commit 08f3fe153e)
2008-08-12 19:33:32 +01:00
Tomas Carnecky
d5bfea4028 Redefine clients as a fixed array
This removes yet another xalloc() each server generation. Also, I
couldn't find the corresponding xfree() so I guess that used to be a
memory leak there.
2008-08-12 19:33:32 +01:00
Tomas Carnecky
ba72de6e1a Redefine WindowTable as a fixed array
Instead of xalloc'ing it every server generation. The array is always
the same size (MAXSCREENS), anyway.
2008-08-12 19:33:32 +01:00
Daniel Stone
da54250c2a EXA: Remove unnecessary #includes
There wasn't actually any font code here, so no problem.
2008-08-12 19:33:32 +01:00
Peter Hutterer
3e8ff2275c xkb: break up XkbCopyKeymap into bite-sized chunks. 2008-08-12 19:33:32 +01:00
Peter Hutterer
0aedf0dfff config: protect against potential out-of-bounds indexing. 2008-08-12 19:33:32 +01:00
Peter Hutterer
eafc7d7997 config: support type strlist for XkbOptions property.
For backwards compatibility with server 1.4.
2008-08-12 19:33:32 +01:00
Peter Hutterer
630908071f config: add parsing for input.x11_options.XkbOptions. #16874
X.Org Bug 16874 <http://bugs.freedesktop.org/show_bug.cgi?id=16784>
2008-08-12 19:33:32 +01:00
Simon Thum
70ee02526c dix: export driver-side functions for acceleration
also add additional safety for accel driver api

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2008-08-12 19:33:32 +01:00
Simon Thum
fc59c33add dix: use average of pointer accel profile
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2008-08-12 19:33:32 +01:00
Ivaylo Boyadzhiev
395e61a3ca Fix a longstanding XAA CopyPlane bug.
TmpBitPlane is a plane mask, not a plane index.

Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2008-08-12 19:33:32 +01:00
Adam Jackson
66d8f94ebe Erk. Actually check all the BARs, not just the first. 2008-08-12 19:33:32 +01:00
Adam Jackson
067cbfcc22 Silence the "No matching Device section" warning in some harmless cases.
If the device doesn't have any BARs then it's just a stub for some
lame operating systems that need one PCI device per output for
multihead.  No point in warning about it.
2008-08-12 19:33:32 +01:00
Adam Jackson
3291fbe732 Handle XGI cards in autoconfig.
It's all a bit wonky since both sis(4) and xgi(4) claim to support the
Volari Z7 and V5/8 (0x0020 and 0x0040), so let's side with xgi(4), why
not.  Note that the V3 (not V3XT) identifies itself as a trident chip.
2008-08-12 19:33:32 +01:00
Adam Jackson
7424956c32 Unifdef XIDLE.
Seriously how was this still here.
2008-08-12 19:33:32 +01:00
Adam Jackson
6c9b3aab97 Document more of the OS and library assumptions. 2008-08-12 19:33:32 +01:00
Tomas Carnecky
d19203b3c4 Cosmetic cleanup to Xvfb/Xdmx configure check output. 2008-08-12 19:33:32 +01:00
Michel Dänzer
d02dfa4402 EXA: Do still return FALSE if the driver PrepareCopy hook failed...
Thanks to Stuart Bennett for pointing out the problem on IRC.
2008-08-12 19:33:32 +01:00
Tomas Carnecky
9357c36101 OutputPropertyNotifyMask is a valid thing to select for. 2008-08-12 19:33:32 +01:00
Michel Dänzer
bc00e1403e EXA: Fix exponential growth logic for GXcopy tiled fills.
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=16908 .
2008-08-12 19:33:32 +01:00
Michel Dänzer
8f9b53f729 EXA: Simplify exaFillRegionTiled() control flow.
Also only call REGION_TRANSLATE() when necessary.
2008-08-12 19:33:32 +01:00
Aaron Plattner
2288420850 Make shmint.h part of the SDK.
This includes ShmRegisterFuncs, ShmSetPixmapFormat, fbShmPutImage, and
ShmRegisterFbFuncs.  Note that fbShmPutImage was already exported.
2008-08-12 19:33:31 +01:00