Commit graph

220 commits

Author SHA1 Message Date
Jeremy Huddleston
b0367d792b Rootless: Correct border rendering on parent-relative windows
Resurected code from the punted RootlessPaintBackground/Border and added it conditionally to miPaintWindow
(cherry picked from commit cf2e3312cf)
2009-09-27 23:41:24 -07:00
Jeremy Huddleston
459ae6273a XQuartz: Fix a bunch of compilation warnings about style
(cherry picked from commit 54000bdcbc)
2009-09-27 23:29:37 -07:00
Jeremy Huddleston
608581c3e9 mi: fix build error caused by missing xtest.h
xtest.h was renamed to xtestconst.h in xextproto.
Requires xextproto 7.0.99.3

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 20daa145c4)
2009-08-31 15:58:18 -07:00
Jeremy Huddleston
0a9f57c499 Update to xextproto 7.0.99.1.
xextproto had Xlib client headers moved into libXext.
Protocol header files are named fooproto.h, header files with constants
foo.h or fooconst.h where foo.h was already in use for client-side headers.
(cherry picked from commit d3f6b43a24)
2009-08-24 12:36:23 -07:00
Jeremy Huddleston
0570adfe05 Sync is built-in and mandatory.
(cherry picked from commit f3ff238601)
2009-08-24 12:36:23 -07:00
Jeremy Huddleston
79ae3d47ed XC-MISC is built-in and mandatory.
(cherry picked from commit 3fcf4d3eb8)
2009-08-24 12:36:23 -07:00
Jeremy Huddleston
2b145ba81d Bigreqs are built-in and mandatory.
(cherry picked from commit f65c50c4e9)
2009-08-24 12:36:23 -07:00
Jeremy Huddleston
2fe86459cf Drop the FONTCACHE extension.
This appears to have been dead code since X-TT was merged.
(cherry picked from commit 0b45ba488d)
2009-08-24 12:36:23 -07:00
Jeremy Huddleston
725c24f046 XFree86: Remove XFree86-Misc extension
Its last remaining purpose in life has been destroyed by input
properties.  Au revoir: it's been fun, by which I mean awful.
(cherry picked from commit 22e64108ec)
2009-08-24 12:36:23 -07:00
Jeremy Huddleston
6b37231bc5 Death to TOG-CUP.
If you still care about 8bpp visuals that much, fix Composite to provide
synthetic visuals.
(cherry picked from commit a7503615a6)
2009-08-24 12:36:22 -07:00
Eric Anholt
0769b0d400 Nuke the MIT-SUNDRY-NONSTANDARD extension.
This extension provided bug-compatibility with pre-X11R6, but has been
stubbed out in our server since 2006 to return BadRequest when you actually
asked for it.
(cherry picked from commit 25827fde68)
2009-08-24 12:36:21 -07:00
Adam Jackson
95cfb2ce88 Death to Extended Visual Information.
(cherry picked from commit f6617b4127)
2009-08-24 12:36:21 -07:00
Jeremy Huddleston
032173f693 XQuartz: Fix alpha to be 1 (screenshots bug, etc)
This is related to: bc964ff1e3
XQuartz: Stab at fixing the alpha 0/1 bug (screenshots, etc) by pulling in some old code that got gutted from rootless.

which was on the 1.4 branch and implemented in fbPaintWindow.  Now that fbPaintWindow is gone, this is now in miPaintWindow().
2009-05-29 14:09:41 -07:00
Jeremy Huddleston
159e6a1b20 X n'est pas une print API.
(cherry picked from commit 1c8bd318fb)
2009-02-24 22:26:32 -08:00
Adam Jackson
e8a45d97d3 Death to APPGROUP.
(cherry picked from commit eafaf40fb3)
2009-02-24 22:24:03 -08:00
Jeremy Huddleston
2db1d46bac XQuartz: mieq: Wait for the server to finish initializing before letting other threads mieqEnqueue
Avoid possible race condition whereby one thread might call mieqEnqueue before InitAndStartDevices finishes
(cherry picked from commit 94e417ac87)
2009-01-16 13:59:36 -08:00
Jeremy Huddleston
d5341e5e3b Merge commit 'origin/server-1.5-branch' into xorg-server-1.5-apple 2008-12-17 13:56:30 -08:00
Julien Cristau
8e1ee573b3 mi: Fix infinite loop on regen when swrast_dri.so is missing
The swrast DRI provider gets pushed on the glx provider stack at every
server generation, so the stack turns into a circular list on regen.

X.Org bug#18388 <https://bugs.freedesktop.org/show_bug.cgi?id=18388>
(cherry picked from commit d3d6be4948)
2008-12-16 14:05:19 -05:00
Jeremy Huddleston
b3ea0a2473 mi: Don't hold the event mutex during SaveScreens()
(cherry picked from commit 17eebd7c10)
2008-11-19 10:58:20 -08:00
Jeremy Huddleston
531f8599e2 mi: Removed a line that I forgot to purge in the last commit... oops... 2008-11-12 21:51:50 -08:00
Jeremy Huddleston
90999af882 mi: Re-added locking to mieqProcessInputEvents
because mieqEnqueue can thrash it still...
(cherry picked from commit 69cc358026)
2008-11-06 14:49:32 -08:00
Jeremy Huddleston
996e509436 Merge branch 'server-1.5-branch' into xorg-server-1.5-apple 2008-10-28 22:18:18 -07:00
Adam Jackson
483fb847b4 mieq: Backtrace when the queue overflows.
Since we're probably stuck down in a driver somewhere, let's at least
try to point out where.  This will need to be rethought when the input
thread work lands though.
(cherry picked from commit b736f477f5)
2008-10-27 09:46:32 -04:00
Jeremy Huddleston
935ab4262a mi: Actually, we don't need to lock at all in mieqProcessInputEvents...
(cherry picked from commit 3b55803615)
2008-10-23 16:30:37 -07:00
Jeremy Huddleston
ee6a73b359 mi: Just some formatting consistency...
(cherry picked from commit 06655dac00)
2008-10-23 16:30:18 -07:00
Jeremy Huddleston
ea8cc7c7c5 mi: Avoid possible deadlock in miEq
When the handler for an event requires sending a message to another thread that is waiting for the miEq mutex.
(cherry picked from commit d7d4cd3003)
2008-10-23 14:16:30 -07:00
Jeremy Huddleston
519460e998 XQuartz: Make WarpPointer multithread safe in XQuartz.
(cherry picked from commit c1caeb52a4)
2008-09-12 15:19:29 -07:00
Jeremy Huddleston
85d340f9e8 XQuartz: Added locking into mieq to protect X from eating itself
(cherry picked from commit 4904e04ce6)
2008-09-12 15:18:51 -07:00
Jeremy Huddleston
4d03fc22ab mieqProcessInputEvents: Check custom event handlers first.
(cherry picked from commit c9ac2f5753)
2008-09-03 09:22:01 -07:00
Fredrik Höglund
d0ef934305 Fix the tile offset in miPaintWindow for ParentRelative windows.
(cherry picked from commit 244a635fcd)
2008-08-29 14:39:05 -04:00
Kristian Høgsberg
bd81faff8c Drop glcore GLX provider.
Obsoleted by the DRI swrast driver.
(cherry picked from commit 77ff8fd507)
2008-06-26 16:14:51 -04:00
George Sapountzis
988b1b8df3 Add loader for the swrast dri driver.
(cherry picked from commit 6ff6465931)
2008-06-26 16:14:51 -04:00
Keith Packard
3e71527048 Empty the borderClip of manual redirect windows. (bug 15823)
Thanks to Owen Taylor for root-causing this one.

If a TreatAsTransparent window has any area in the borderClip, that will be
added to the totalClip region for use by other windows. That's wrong.
Instead, simply empty the borderClip for TreatAsTransparent windows right up
front.
(cherry picked from commit 6c1accce87)
2008-05-06 13:03:58 -04:00
Matt Turner
db00d4a4dc Check for __x86_64__ when we check for __amd64__
It seems Intel C Compiler neglects to define __amd64__, __amd64, or
amd64, but *does* define __x86_64__.
(cherry picked from commit 1fa4de80fc)
2008-04-15 11:47:48 +10: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
George Sapountzis
3d64290547 clean some "unused" warnings 2008-03-01 19:49:24 +02:00
Eamon Walsh
4be69e41c0 Revert "Bug #8937: Extension setup functions not called on server resets"
This reverts commit 5e946dd853.

The devPrivates rework makes this workaround unnecessary.
2008-02-11 16:15:26 -05:00
Peter Hutterer
521a7f26e0 mi: Only UpdateSpriteForScreen if we actually changed the screen. (Bug #12650)
X.Org Bug 12650 <http://bugs.freedesktop.org/show_bug.cgi?id=12650>
2008-02-05 18:34:31 +10:30
Eamon Walsh
e915a26397 xselinux: Move the extension to extmod instead of being built-in. 2008-01-25 19:22:19 -05:00
Eamon Walsh
f6a78ee143 XACE: Remove the extension code entirely, XACE is completely static now. 2008-01-25 18:04:10 -05:00
Peter Hutterer
e070c2cbef mi: change infamous "Tossed event ..." error for something more explanatory.
Few whitespace errors fixed.
Two ErrorF's prefixed with [mi].
(cherry picked from commit 117458d2db)
2008-01-09 13:42:10 +10:00
Eamon Walsh
643c52be32 xselinux: Remove "X" prefix on remaining functions and strings.
Should be evident from the context.
2007-12-28 13:27:28 -05:00
Jeremy Huddleston
f3042a63be XQuartz: Handle Pseudorami init in miinitext
(cherry picked from commit a585c94fed)
2007-12-21 01:24:43 -08:00
Dave Airlie
6a5c3e04fa mi: set the private key to a unique non-zero value 2007-12-17 14:59:12 +10:00
Bartosz Fabianowski
5b02a6ca5b Input: Fix proximity events with valuators
Initialise num_events to 1, so we always send a proximity event, and then
optionally valuator events.  Also make sure mieq can deal with valuator
events sent after proximity events.
2007-12-14 13:15:26 +02:00
Eamon Walsh
c8feb73f58 Merge branch 'master' into XACE-SELINUX
Conflicts:

	Xext/EVI.c
	Xext/bigreq.c
	Xext/cup.c
	Xext/dpms.c
	Xext/fontcache.c
	Xext/mitmisc.c
	Xext/xcmisc.c
	Xext/xf86bigfont.c
	Xext/xtest.c
	configure.ac
	dbe/dbe.c
	hw/darwin/darwin.h
	hw/darwin/darwinEvents.c
	hw/darwin/iokit/xfIOKit.h
	hw/darwin/iokit/xfIOKitCursor.c
	hw/darwin/quartz/fullscreen/fullscreen.c
	hw/darwin/quartz/fullscreen/quartzCursor.c
	hw/darwin/quartz/quartz.c
	hw/darwin/quartz/quartzCommon.h
	hw/darwin/quartz/quartzCursor.c
	hw/darwin/quartz/xpr/dri.c
	hw/darwin/quartz/xpr/dristruct.h
	hw/darwin/quartz/xpr/xprCursor.c
	hw/darwin/quartz/xpr/xprFrame.c
	hw/xfree86/modes/xf86RandR12.c
	include/cursor.h
	miext/rootless/rootlessCommon.h
	miext/rootless/rootlessScreen.c
	miext/rootless/rootlessWindow.c
	render/picturestr.h

Trying to pick up the pieces from the darwin churn here...
2007-12-13 18:38:25 -05:00
Adam Jackson
fa47910045 Clean up many #if 0. 2007-12-02 12:40:25 -05:00
Keith Packard
33b94da632 Re-add call to XFixesExtensionInit for static servers.
This reverts a portion of bcbaf2a0ce which
removed the call to XFixesExtensionInit and some cpp lines.
2007-11-23 16:01:11 -08:00
Jeremy Huddleston
bcbaf2a0ce Darwin: Dead code removal, Code cleanup, Added launcher
Imported changes from xorg-server-1.2-apple to make master more current wrt
file layout, build system changes, and dead code removal.
2007-11-21 19:52:11 -08:00
Alan Coopersmith
a55ec1a9f4 Restore checks for __i386 where needed for Sun compilers on Solaris 2007-11-20 18:31:07 -08:00