Ben Byer
7078458432
add missing dix-config include
...
(cherry picked from commit 126e9bc8c4
)
2008-04-08 21:24:53 -07:00
Ben Byer
19e1327cdc
add correct default ACLOCAL and PKGCONFIG_PATH settings to autogen.sh
...
(cherry picked from commit 2bb14682c6
)
2008-04-08 21:24:48 -07:00
Jeremy Huddleston
2d4194a8d1
XQuartz: Fix issue where clicking on an X11 window might send that event to an X11 window in another space.
...
(cherry picked from commit df21312c8b
)
2008-04-08 17:02:56 -07:00
Adam Tkac
85b855f26f
Fix Xvfb input when building against current X sources.
...
(cherry picked from commit 726dcd9e4e
)
2008-04-07 10:34:18 -04:00
Julien Cristau
fe87d921da
Fix the clock_gettime check for glibc-based non-Linux systems
...
We need to define _POSIX_C_SOURCE on glibc, not just Linux, so add a new
test for the __GLIBC__ macro.
(cherry picked from commit 6c0cfe3d43
)
2008-04-07 10:32:13 -04:00
Adam Jackson
9a908769e6
Fix PCI config space cycles from int10 emulator.
...
The top bit of 0xCF8 is an enable bit, not part of the domain. Sending
cycles to domain 128 instead of domain 0 is rarely the right thing to do.
(cherry picked from commit cc7c045bae
)
2008-04-07 10:32:07 -04:00
Eric Anholt
bd91565ac8
Fix clock_gettime presence detect on FreeBSD.
...
For non-Linux, _POSIX_C_SOURCE and friends restrict symbols defined rather
than enabling defines of symbols. Additionally, CLOCK_MONOTONIC was
apparently added to the standard around 2000 anyway, not 1993.
(cherry picked from commit d1de3dda8e
)
2008-04-07 10:32:04 -04:00
Dave Airlie
b2704de8a7
quirk: add quirk for ACER EDID
...
(cherry picked from commit f0915fb3c4
)
2008-04-07 10:31:46 -04:00
Hong Liu
8ccdaa288a
Bug #15160 : quirk Proview AY765C
...
prefer first detailed timing
(cherry picked from commit ebc56aca8b
)
2008-04-07 10:30:38 -04:00
Goneri Le Bouder
8059b57f9b
xfree86: don't crash in AutoConfig if the primary device is not pci
...
Only call matchDriverFromFiles() if we found a pci device.
Debian bug#472823 (http://bugs.debian.org/472823 ).
(cherry picked from commit 9500033b9e
)
2008-04-07 10:30:26 -04:00
Fredrik Höglund
841aa08ea4
EXA: Optimize the eviction scanning loop in exaOffscreenAlloc.
...
Reduce the cost of the inner loop, by keeping a set of pointers to the
first and the last areas in the series, subtracting the cost of the first
area from the score, and adding the cost of the last area while walking
the list. This commit also moves the scanning loop from exaOffscreenAlloc
into a separate function.
Idea by Michel Dänzer.
(cherry picked from commit 8074676d2d
)
2008-04-07 10:29:00 -04:00
Fredrik Höglund
2e4b72dd84
EXA: Improve the algorithm used for tracking offscreen pixmap use.
...
Replace the current score keeping algorithm with a rolling counter that's
incremented in ExaOffscreenMarkUsed, with the previous value being stored
in the area. exaOffscreenAlloc uses the difference between the counter
value and the value in the area when deciding which area to evict.
It now also takes the size of the areas into account, and favors evicting
smaller areas.
The credit for these ideas goes to Michel Dänzer.
(cherry picked from commit 93d876891d
)
2008-04-07 10:28:54 -04:00
Daniel Stone
32b5c67145
gitignore: Add two more bits
...
Get slightly better at ignoring vim swap files, and let people keep
local changes if they want to.
(cherry picked from commit 7034484f08
)
2008-04-07 10:27:04 -04:00
Dave Airlie
a2fcdfd5f9
quirk: fix LPL monitors properly.
...
no point having a h cm fix when we really want to copy the sizes from the
other place.
RH BZ 435216
(cherry picked from commit c747030a49
)
2008-04-07 10:26:59 -04:00
Hasso Tepper
db62e494ff
configure.ac: DragonFly BSD support
...
Add support for DragonFly BSD, which is just the same as FreeBSD for all
of these cases.
(cherry picked from commit 0f87b41a43
)
2008-04-07 14:11:03 +03:00
Owen W. Taylor
685a04c2bf
EXA: Fix TS origin computation when implementing RenderComposite with tiling.
...
(cherry picked from commit 6b1a27023e
)
2008-04-07 11:15:19 +02:00
Kristian Høgsberg
ff886a66de
Convert __DRIconfigs after we've made sure createNewScreen succeeded.
...
(cherry picked from commit ec17900f52
)
2008-04-04 11:47:09 -04:00
Kristian Høgsberg
d1dd774910
Only autoload RECORD if it was enabled.
...
(cherry picked from commit 16a8ce7558
)
2008-04-04 11:47:08 -04:00
Jeremy Huddleston
6acb674a7a
XQuartz: Change reporting of space change to debug log rather than stderr
...
(cherry picked from commit ed15556a9f
)
2008-04-02 18:05:52 -07:00
Jeremy Huddleston
025909a605
Merge branch 'server-1.5-branch' into xorg-server-1.5-apple
2008-04-02 17:44:10 -07:00
Ben Byer
c8b387349e
The AppKit thread should not be calling directly into the X server
...
functions to change state when the keyboard is reloaded; instead,
pass it as an event.
(cherry picked from commit 7e653f806f
)
2008-04-02 17:43:46 -07:00
Ben Byer
e8b6088c7b
formatting cleanup for X11Application.m (no code changes)
...
(cherry picked from commit eb083d3f68
)
2008-04-02 17:43:37 -07:00
Ben Byer
503600c7de
moved and renamed QuartzMessageServerThread to
...
DarwinSendDDXEvent to make more clear what it actually does.
(cherry picked from commit bee2b377ef
)
2008-04-02 17:42:52 -07:00
Ben Byer
d39f9a63d7
shovelling code around ...
...
(cherry picked from commit 2143182ba4
)
2008-04-02 17:42:31 -07:00
Ben Byer
9dcf5b4701
just a bit of juggling headers around -- we're preparing
...
to call our Xquartz-specific event handlers directly
as mieqHandlers
(cherry picked from commit 4aedba5aa7
)
2008-04-02 17:40:59 -07:00
Ben Byer
8c4a81ce8e
nuke DarwinEventQueue
...
(cherry picked from commit 1e0ec02202
)
2008-04-02 17:40:47 -07:00
Jeremy Huddleston
216fdc8514
continue with gutting darwinEvents.c
...
(cherry picked from commit c34fce7051
)
2008-04-02 17:40:34 -07:00
Jeremy Huddleston
8fc5cd57bb
turns out we weren't actually using these files. oops
...
(cherry picked from commit bfec44d7b4
)
2008-04-02 17:39:04 -07:00
Ben Byer
d34dbcbdb0
remove vestigal DarwinEQPointerPost etc
...
(cherry picked from commit a25704c423
)
2008-04-02 17:36:59 -07:00
Ben Byer
e301ec43da
gut darwinEQEnqueue, and make it just call mieqEnqueue (for the moment)
...
(cherry picked from commit a9e081a60c
)
2008-04-02 17:36:50 -07:00
Ben Byer
71b47657ef
add prototype for DarwinEventHandler
...
(cherry picked from commit 9a03ae33c4
)
2008-04-02 17:36:42 -07:00
Ben Byer
b35ecb21a1
add logging of current thread ID to DEBUG_LOG macro
...
(cherry picked from commit 5848510cc5
)
2008-04-02 17:36:30 -07:00
Ben Byer
dd9adee6cf
Begin to move all of our Xquartz DDX-specific event handlers
...
to miEQ, in preparation to remove the DDX-specific code entirely.
(cherry picked from commit 3f4447b95f
)
2008-04-02 17:36:19 -07:00
Kristian Høgsberg
81af92f5d9
Pick up dri2proto from the standard proto header include path.
2008-04-02 19:22:05 -04:00
Kristian Høgsberg
856d9dd615
Send the GLX_EXT_texture_from_pixmap attributes to the client.
2008-04-02 19:06:40 -04:00
Jeremy Huddleston
69b9505a13
XQuartz: Fixed missing close-paren in preference pane text.
...
(cherry picked from commit ea37e151dc
)
2008-04-02 15:15:48 -07:00
Kristian Høgsberg
bbd87f85a3
Add @XORG_CFLAGS@ to satisfy xf86* includes.
...
Pointed out by Hasso Tepper.
2008-04-02 18:00:06 -04:00
Kristian Høgsberg
2478122793
dri2: Unbreak glcore visual setup.
2008-04-02 12:59:25 -04:00
Xiang, Haihao
7d97c19c2d
dri2: fix crasher if DRI2Connect fails
2008-04-02 12:03:12 -04:00
Kristian Høgsberg
2156bdf3b7
Implement DRI2 direct rendering and update AIGLX to DRI interface changes.
...
Get rid of glcontextmodes.[ch] from build, rename __GlcontextModes to
__GLXcontext. Drop all #includes of glcontextmodes.h and glcore.h.
Drop the DRI context modes extension.
Add protocol code to DRI2 module and load DRI2 extension by default.
(cherry picked from commit c40e0b51f0
)
2008-04-01 11:58:27 -04:00
Thomas Jaeger
a45586da2b
XKB: Fix processInputProc wrapping
...
If input processing is frozen, only wrap realInputProc: don't smash
processInputProc as well. When input processing is thawed, pIP will be
rewrapped correctly.
This supersedes the previous workaround in 50e80c9.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
(cherry picked from commit 37b1258f0a
)
2008-04-01 15:32:01 +03:00
Jeremy Huddleston
d84cda5fb1
Merge branch 'server-1.5-branch' into xorg-server-1.5-apple
2008-03-31 16:44:29 -07:00
Ben Byer
ba5202d0a9
Add code to track 5 valuators for pointing device, in preparation
...
for supporting tablet input in Xquartz.
(cherry picked from commit 22c8849ea819eb70a14b2e06330b11b22aa63ebc)
2008-03-31 16:42:14 -07:00
Ben Byer
24d465c155
add debug statements so we can see if/when our Xinput stubs are getting called.
...
(cherry picked from commit 6e160bbe15dd2c2b8685847c06831cb6aebc6f74)
2008-03-31 16:42:06 -07:00
Ben Byer
bd1daecaed
Remove calls to InitValuatorAxisStruct -- these are now handled in dix by
...
InitValuatorDeviceClass.
Add InitProximityClassDeviceStruct call to prepare for tablet support.
(cherry picked from commit 1bd980a5b114f5320360943214f8f9f23b29c1e3)
2008-03-31 16:41:59 -07:00
Eamon Walsh
bde2890148
XSELinux: Add a request to get a client's context from a resource ID.
...
(cherry picked from commit 9f56fc5806
)
2008-03-31 19:22:53 -04:00
Jeremy Huddleston
33c435705e
XQuartz: Fixed names of enums to be more consistent
...
(cherry picked from commit c309a08806daf5d716a860c709e51eacad2c745a)
2008-03-28 17:01:24 -07:00
Jeremy Huddleston
d56433d302
XQuartz: Another Exposé fix: F9 doesn't raise all windows
...
(cherry picked from commit b9cffa20de
)
2008-03-28 17:01:18 -07:00
Eamon Walsh
c26bccf417
XSELinux: Add xorg.conf option for permissive/enforcing/disabled.
...
Patch by Joe Nall.
The option goes in the "extmod" subsection.
TODO: Make it easier for extension modules to handle their own options.
(cherry picked from commit b5f98fcea2
)
2008-03-28 14:24:06 -04:00
Jeremy Huddleston
b0a093c8a9
XQuartz: Sanity-check the removal of the 256-color option
...
Fixes the 'one-time-preferences' bug in 2.2.0_rc1
(cherry picked from commit 38cbd13490
)
2008-03-27 19:22:01 -07:00