DGA disabled by default

We just had a nasty X hang here due to DGA not being shut down during a
crash. I will disable DGA mouse by default, and if you want it in your
application, you will need to configure SDL with --enable-video-x11-dga

See ya!
-Sam Lantinga (slouken at devolution.com)

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

hi`

can’t these things be runtime flags? Like read from an ini file or
through environment variables? It is a bit annoying to have to recompile
SDL to change these little details.

Sam Lantinga wrote:>

We just had a nasty X hang here due to DGA not being shut down during a
crash. I will disable DGA mouse by default, and if you want it in your
application, you will need to configure SDL with --enable-video-x11-dga

See ya!
-Sam Lantinga (slouken at devolution.com)

Lead Programmer, Loki Entertainment Software

“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec


Daniel Vogel My opinions may have changed,
666 @ http://grafzahl.de but not the fact that I am right

We just had a nasty X hang here due to DGA not being shut down during
a crash. I will disable DGA mouse by default, and if you want it in
your application, you will need to configure SDL with
–enable-video-x11-dga

That’s what happened to me with the older fullscreen code. Good to see
it’s not going to be an issue anymore.

Paul Braman
@Paul_BramanOn Wed, 19 Jan 2000, Sam Lantinga wrote:

hi`

can’t these things be runtime flags? Like read from an ini file or
through environment variables? It is a bit annoying to have to recompile
SDL to change these little details.

It could be an environment variable.
e.g.
export SDL_ENABLE_DGAMOUSE=1

Eventually (1.1) SDL will have an entire string key/value hash database
that can be queried for these things, but for now environment variables
will have to do.

Comments?
-Sam Lantinga (slouken at devolution.com)

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

Environment variables are painless enough I would say, go ahead.

All the best,
robert (at the moment compiling descent2 for, you guessed it, SDL :)On Wed, Jan 19, 2000 at 03:25:10PM -0800, Sam Lantinga wrote:

It could be an environment variable.
e.g.
export SDL_ENABLE_DGAMOUSE=1

Eventually (1.1) SDL will have an entire string key/value hash database
that can be queried for these things, but for now environment variables
will have to do.

Comments?

Sam Lantinga wrote:

It could be an environment variable.
e.g.
export SDL_ENABLE_DGAMOUSE=1

Eventually (1.1) SDL will have an entire string key/value hash database
that can be queried for these things, but for now environment variables
will have to do.

Comments?

Sure :wink: I’d prefer environment variables as they are easy to alter
during run time of the game. So if SDL checks say every setvideomode for
SDL_ENABLE_DGAMOUSE I can let the user decide upon runtime which method
he prefers.–
Daniel Vogel My opinions may have changed,
666 @ http://grafzahl.de but not the fact that I am right

Daniel Vogel wrote:

Sure :wink: I’d prefer environment variables as they are easy to alter
during run time of the game. So if SDL checks say every setvideomode for
SDL_ENABLE_DGAMOUSE I can let the user decide upon runtime which method
he prefers.

How do you change a process environment variable from another process
while it is running?–
Pierre Phaneuf
Ludus Design, http://ludusdesign.com/

Pierre Phaneuf wrote:

Daniel Vogel wrote:

Sure :wink: I’d prefer environment variables as they are easy to alter
during run time of the game. So if SDL checks say every setvideomode for
SDL_ENABLE_DGAMOUSE I can let the user decide upon runtime which method
he prefers.

How do you change a process environment variable from another process
while it is running?

hmmm??? We are talking about normal environment variables like “export
SDL_ENABLE_DGAMOUSE=1”, right? So putenv, getenv, setenv should do the
trick.–
Daniel Vogel My opinions may have changed,
666 @ http://grafzahl.de but not the fact that I am right

hmmm??? We are talking about normal environment variables like “export
SDL_ENABLE_DGAMOUSE=1”, right? So putenv, getenv, setenv should do the
trick.

I would think there should be a programmatic way to do this rather than
relying on environment variables in the running process.

Paul Braman
@Paul_BramanOn Thu, 20 Jan 2000, Daniel Vogel wrote:

hmmm??? We are talking about normal environment variables like “export
SDL_ENABLE_DGAMOUSE=1”, right? So putenv, getenv, setenv should do the
trick.

I would think there should be a programmatic way to do this rather than
relying on environment variables in the running process.

Again, yes, but not in SDL 1.0

-Sam Lantinga				(slouken at devolution.com)

Lead Programmer, Loki Entertainment Software> On Thu, 20 Jan 2000, Daniel Vogel wrote:

“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec

Daniel Vogel wrote:

Sure :wink: I’d prefer environment variables as they are easy to alter
during run time of the game. So if SDL checks say every setvideomode for
SDL_ENABLE_DGAMOUSE I can let the user decide upon runtime which method
he prefers.

How do you change a process environment variable from another process
while it is running?

hmmm??? We are talking about normal environment variables like “export
SDL_ENABLE_DGAMOUSE=1”, right? So putenv, getenv, setenv should do the
trick.

Ok, by the game itself.–
Pierre Phaneuf
Ludus Design, http://ludusdesign.com/

Pierre Phaneuf wrote:

How do you change a process environment variable from another process
while it is running?

You can’t, the environments of each process are independent, you can
only change it for a child process of your own, and even then I
think you can only do it before you spawn the process.

Andre

Andre Renaud wrote:

How do you change a process environment variable from another process
while it is running?

You can’t, the environments of each process are independent, you can
only change it for a child process of your own, and even then I
think you can only do it before you spawn the process.

That’s exactly how I see it. :-)–
Pierre Phaneuf
Ludus Design, http://ludusdesign.com/