XLibre Xserver
Go to file
Keith Packard 4172aa137c dri2: Only deal with output windows and pixmaps.
This reverts commit fdb081b430
"dri2: Deal with input-only windows by using WindowDrawable()"
and replaces it as follows:

Reject the creation of a DRI2 drawable for UNDRAWABLE_WINDOW (input-only
windows) and DRAWABLE_BUFFER (whatever those are) drawables and only look up
privates for the supported drawable types.

The rest of the the code can continue pretending there's only output windows
and pixmaps, which are the only kinds of drawables relevant for DRI2.

Fixes server crash with GLX compositing managers such as compiz or kwin, due
to looking up a window private for a pixmap and getting a bogus pointer.

Signed-off-by: Michel Dänzer <daenzer@vmware.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
2010-06-10 07:20:03 -07:00
Xext Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
Xi Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
composite Change the devPrivates API to require dixRegisterPrivateKey 2010-06-05 19:23:03 -07:00
config Remove more superfluous if(p) checks around free(p) 2010-06-06 20:27:18 +07:00
damageext Clean up after removal of screen parameters from region macros. 2010-06-05 22:07:21 -07:00
dbe Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
dix Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
doc Rename region macros to eliminate screen argument 2010-06-05 18:59:00 -07:00
exa Remove more superfluous if(p) checks around free(p) 2010-06-06 20:27:18 +07:00
fb Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
glx glxdriswrast bugfix: configure swapgc, not gc. 2010-06-10 06:50:47 -07:00
hw dri2: Only deal with output windows and pixmaps. 2010-06-10 07:20:03 -07:00
include Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
m4 dolt: add Cygwin to supported platforms 2009-10-13 20:30:22 -07:00
mi Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
miext Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
os Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
randr Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
record Remove more superfluous if(p) checks around free(p) 2010-06-06 20:27:18 +07:00
render Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
test If XTest is always required, then eliminate the XTest devPrivate 2010-06-07 19:56:47 -07:00
xfixes Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
xkb Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
.gitignore .gitignore: use common defaults with custom section #24239 2009-11-11 21:40:20 -08:00
COPYING Update Sun license notices to current X.Org standard form 2009-12-16 17:11:35 -08:00
Makefile.am Fix relink targets for silent rules 2010-03-22 00:45:52 -05:00
README packaging: provide a default README file #24206 2010-01-27 14:00:17 -08:00
autogen.sh autogen.sh: Pass --force to autoreconf 2008-07-22 16:55:26 +03:00
configure.ac configure: Check for libsha1.pc 2010-06-04 09:47:54 -07:00
cpprules.in xfree86: Set a saner search path for xorg.conf.d 2010-04-08 15:21:01 +10:00
fix-miregion Change region implementation names to eliminate the 'mi' prefix 2010-06-05 17:47:32 -07:00
fix-miregion-private Change region implementation names to eliminate the 'mi' prefix 2010-06-05 17:47:32 -07:00
fix-patch-whitespace Rename region macros to eliminate screen argument 2010-06-05 18:59:00 -07:00
fix-region Rename region macros to eliminate screen argument 2010-06-05 18:59:00 -07:00
xorg-server.m4 macros: use PKG_CONFIG variable rather than executable name 2010-01-07 12:57:23 -08:00
xorg-server.pc.in xorg-server.pc Requires: xproto >= 7.0.17 2010-05-22 20:12:41 -07:00

					X Server

The X server accepts requests from client applications to create windows,
which are (normally rectangular) "virtual screens" that the client program
can draw into.

Windows are then composed on the actual screen by the X server
(or by a separate composite manager) as directed by the window manager,
which usually communicates with the user via graphical controls such as buttons
and draggable titlebars and borders.

For a comprehensive overview of X Server and X Window System, consult the
following article:
http://en.wikipedia.org/wiki/X_server

All questions regarding this software should be directed at the
Xorg mailing list:

        http://lists.freedesktop.org/mailman/listinfo/xorg

Please submit bug reports to the Xorg bugzilla:

        https://bugs.freedesktop.org/enter_bug.cgi?product=xorg

The master development code repository can be found at:

        git://anongit.freedesktop.org/git/xorg/xserver

        http://cgit.freedesktop.org/xorg/xserver

For patch submission instructions, see:

	http://www.x.org/wiki/Development/Documentation/SubmittingPatches

For more information on the git code manager, see:

        http://wiki.x.org/wiki/GitPage