WM Keys

hi all; I just want to break away from the ALT+F4 key thread here as I
think a few people “self included” are getting confused with what
everybody else is talking about.

** And just to make it clear I’m not talking about SDL_QUIT event being
called when you hold ALT+F4 **

I’d like to have the ability in SDL to disable the Window Manager keys
including ALT+F4, there are many reasons for not wanting the default
behaviour of these keys such as ALT+TAB, think about VNC in fullscreen
mode! you don’t want ALT+TAB to change the VNC app to another app running
on your desktop you want it to change the window app running in your VNC
to another app.

people have mentioned it is standard behaviour as pointed out by W3C, I’d
also point out that even the W3C standard allows you to prevent the
default behaviour for these keys!! and I know we’re not talking about
W3C’s standard regarding DOM but you can even trap ALT+F4 keys in an HTML
document and preventDefault stopping the “browser” from closing! I’ll also
point out that Windows allows you to do this via code also as even they
know that it’s not always desirable behaviour.

I’d like very much for SDL to have some kinda SDL_enableWMKeys(true|false)
or something similar, even if that means its true by default. I would just
like to have full control of these keys… now I know people will point out
CTRL+ALT+DEL is impossible to trap on many OS’s but that I can live with
and I’d never imagine way I’d want to use CTRL+ALT+DEL for anything it’s
perhaps way these keys was chosen…

The key [Sys Rq] was once a key that allowed you to send key presses to
the underlaying OS from an overlaying terminal because the terminal used
OS key combo’s for its own use.

hugs and kisses–
Using Opera’s revolutionary e-mail client: http://www.opera.com/mail/

hi all; I just want to break away from the ALT+F4 key thread here as I
think a few people “self included” are getting confused with what
everybody else is talking about.

** And just to make it clear I’m not talking about SDL_QUIT event being
called when you hold ALT+F4 **

I’d like to have the ability in SDL to disable the Window Manager keys
including ALT+F4, there are many reasons for not wanting the default
behaviour of these keys such as ALT+TAB, think about VNC in fullscreen
mode! you don’t want ALT+TAB to change the VNC app to another app
running on your desktop you want it to change the window app running in
your VNC to another app.

people have mentioned it is standard behaviour as pointed out by W3C,
I’d also point out that even the W3C standard allows you to prevent the
default behaviour for these keys!! and I know we’re not talking about
W3C’s standard regarding DOM but you can even trap ALT+F4 keys in an
HTML document and preventDefault stopping the “browser” from closing!
I’ll also point out that Windows allows you to do this via code also as
even they know that it’s not always desirable behaviour.

I’d like very much for SDL to have some kinda
SDL_enableWMKeys(true|false) or something similar, even if that means
its true by default. I would just like to have full control of these
keys… now I know people will point out CTRL+ALT+DEL is impossible to
trap on many OS’s but that I can live with and I’d never imagine way I’d
want to use CTRL+ALT+DEL for anything it’s perhaps way these keys was
chosen…

The key [Sys Rq] was once a key that allowed you to send key presses to
the underlaying OS from an overlaying terminal because the terminal used
OS key combo’s for its own use.

hugs and kisses

okay I just noticed W3C and WC3 world of world of warcraft3 :slight_smile: even tho my
point is still vaild.

GrahamOn Tue, 06 May 2008 02:08:18 +0100, Graham Houston <@Graham_Houston> wrote:


Using Opera’s revolutionary e-mail client: http://www.opera.com/mail/