CVS update (X11 bugfixes)

Sam Lantinga wrote:

If SDL crashed your X server when using DGA, please grab this update and
let me know if it fixes your problems.

Cool!Now Fullscreen works on my Cirrus Logic and the programs exit without X crashing.

I spent the whole day putting printf-s all over the x11 driver tring to see where it was going
wrong.

Now everything works but still I’m curious to know where the bug fix was made.Browsing thro’ the new
source I can’t see where it has been made.

Full changes:
1.0.2: Windows mouse driver now recognizes the middle button.
1.0.2: X11 driver now recognizes the “unix:0” display as local.
Great!I spent one whole day on this one.

1.0.2: Fixed a bug in DGA support which crashed some X servers.
Not anymore.Thank You.Now I can get into actual SDL prgramming.

http://www.devolution.com/~slouken/SDL/cvs.html

I fixed some serious bugs in the X11 DGA driver in the latest CVS update.
If SDL crashed your X server when using DGA, please grab this update and
let me know if it fixes your problems.

Full changes:
1.0.2: Windows mouse driver now recognizes the middle button.
1.0.2: X11 driver now recognizes the “unix:0” display as local.
1.0.2: Fixed a bug in DGA support which crashed some X servers.

BTW, I’m stuck on the matrox blitters. color fill, double-buffering,
and vertical retrace wait work great, but I can’t get the matrox blitters
to clip properly or do colorkeying properly.

If you want to look at this, change the “#if 1” to “#if 0” at the bottom
of src/video/fbcon/SDL_fbmatrox.c, and run the testsprite test program
with the “-flip” command line option.

Thanks!
-Sam Lantinga (slouken at devolution.com)

Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec

Now everything works but still I’m curious to know where the bug fix was made.Browsing thro’ the new
source I can’t see where it has been made.

I removed the code which hides the cursor after going into DGA mode.

-Sam Lantinga				(slouken at devolution.com)

Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec

Sam Lantinga wrote:

http://www.devolution.com/~slouken/SDL/cvs.html

Ok, I downloaded the new CVS, and tried to compile it. It configure’ed just
dandy, but when I tried to make it, I got the following error:

SDL_fbvideo.c: In function FB_VideoInit': SDL_fbvideo.c:436:FB_ACCEL_3DFX_BANSHEE’ undeclared (first use in this
function)
SDL_fbvideo.c:436: (Each undeclared identifier is reported only once
SDL_fbvideo.c:436: for each function it appears in.)

The version of SDL I am replacing with this one was 1.0.0, so this problem
probably cropped up from the FBCON cvs update. Also I haven’t been keeping
up with the newsgroup for the last few days so if this problem has already
had attention brought to it, sorry.–
-= aaron p. matthews
-= rival entertainment
-= http://www.Nayzak.com/~jerryma/rival

Sam Lantinga wrote:

http://www.devolution.com/~slouken/SDL/cvs.html

Ok, I downloaded the new CVS, and tried to compile it. It configure’ed just
dandy, but when I tried to make it, I got the following error:

SDL_fbvideo.c: In function FB_VideoInit': SDL_fbvideo.c:436:FB_ACCEL_3DFX_BANSHEE’ undeclared (first use in this

Oops, this is only available with the 2.3 kernel tree. I’m adjusting
the code now…

-Sam Lantinga				(slouken at devolution.com)

Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec