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
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
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:
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.
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.
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 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
Sure 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/
Sure 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
Sure 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.
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.
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.