Sdl_quit

Is it normal for SDL_QUIT event to be triggered when you press control
key, it’s not right? Am I experiencing some knows bug or, the more
likely case, of me screwing up something? Then I again this is
happening when running the examples in test directory of SDL source.

$ sdl-config --version
1.2.13

$ uname -a
Darwin Ook.local 9.6.1 Darwin Kernel Version 9.6.1: Sun Dec 21
19:45:33 PST 2008; root:xnu-1228.9.75~4/RELEASE_I386 i386

SDL has been compiled without tweaking any of the config settings.

Thanks in advance,
Pavel

Does this seem to happen with any of the SDL test programs?On Thu, Apr 9, 2009 at 1:13 AM, Pavel Dudrenov wrote:

Is it normal for SDL_QUIT event to be triggered when you press control
key, it’s not right? Am I experiencing some knows bug or, the more
likely case, of me screwing up something? Then I again this is
happening when running the examples in test directory of SDL source.

$ sdl-config --version
1.2.13

$ uname -a
Darwin Ook.local 9.6.1 Darwin Kernel Version 9.6.1: Sun Dec 21
19:45:33 PST 2008; root:xnu-1228.9.75~4/RELEASE_I386 i386

SDL has been compiled without tweaking any of the config settings.

Thanks in advance,
Pavel


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


http://codebad.com/

Does this seem to happen with any of the SDL test programs?

Whoops, sorry.

That’s quite remarkable. Maybe we need a trace of X messages going to your appOn Thu, Apr 9, 2009 at 1:58 AM, Donny Viszneki <@Donny_Viszneki> wrote:

On Thu, Apr 9, 2009 at 1:13 AM, Pavel Dudrenov wrote:

Is it normal for SDL_QUIT event to be triggered when you press control
key, it’s not right? Am I experiencing some knows bug or, the more
likely case, of me screwing up something? Then I again this is
happening when running the examples in test directory of SDL source.

$ sdl-config --version
1.2.13

$ uname -a
Darwin Ook.local 9.6.1 Darwin Kernel Version 9.6.1: Sun Dec 21
19:45:33 PST 2008; root:xnu-1228.9.75~4/RELEASE_I386 i386

SDL has been compiled without tweaking any of the config settings.

Thanks in advance,
Pavel


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


http://codebad.com/


http://codebad.com/

It’s happening on graywin.c examlpe, but I figured it out. The case
for SDL_KEYDOWN does not have an explicit break, only breaks are
within if statements, So the case right after SDL_KEYDOWN, which
happens to be SDL_QUIT, is executed too. It’s not just control any key
causes the SDL_QUIT case to execute, unless is a key that passes the
if statements in the SDL_KEYDOWN.

So no bug, just a PEBKAC.

Sorry about that,
PavelOn Wed, Apr 8, 2009 at 10:59 PM, Donny Viszneki <donny.viszneki at gmail.com> wrote:

On Thu, Apr 9, 2009 at 1:58 AM, Donny Viszneki <donny.viszneki at gmail.com> wrote:

Does this seem to happen with any of the SDL test programs?

Whoops, sorry.

That’s quite remarkable. Maybe we need a trace of X messages going to your app

On Thu, Apr 9, 2009 at 1:13 AM, Pavel Dudrenov <@Pavel_Dudrenov> wrote:

Is it normal for SDL_QUIT event to be triggered when you press control
key, it’s not right? Am I experiencing some knows bug or, the more
likely case, of me screwing up something? Then I again this is
happening when running the examples in test directory of SDL source.

$ sdl-config --version
1.2.13

$ uname -a
Darwin Ook.local 9.6.1 Darwin Kernel Version 9.6.1: Sun Dec 21
19:45:33 PST 2008; root:xnu-1228.9.75~4/RELEASE_I386 i386

SDL has been compiled without tweaking any of the config settings.

Thanks in advance,
Pavel


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


http://codebad.com/


http://codebad.com/


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Is there a Pavel Dudrenov Bugzilla anywhere? I’m sure their
maintainers would appreciate it if you submitted a bug report and/or
patch :POn Thu, Apr 9, 2009 at 2:14 AM, Pavel Dudrenov wrote:

So no bug, just a PEBKAC.


http://codebad.com/

I wish that was the case :)On Wed, Apr 8, 2009 at 11:41 PM, Donny Viszneki <donny.viszneki at gmail.com> wrote:

On Thu, Apr 9, 2009 at 2:14 AM, Pavel Dudrenov <@Pavel_Dudrenov> wrote:

So no bug, just a PEBKAC.

Is there a Pavel Dudrenov Bugzilla anywhere? I’m sure their
maintainers would appreciate it if you submitted a bug report and/or
patch :stuck_out_tongue:


http://codebad.com/


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

One time I set up a Bugzilla for tenants of a particular building to
help prioritize building repairs and such.On Thu, Apr 9, 2009 at 2:50 AM, Pavel Dudrenov wrote:

I wish that was the case :slight_smile:

On Wed, Apr 8, 2009 at 11:41 PM, Donny Viszneki <@Donny_Viszneki> wrote:

On Thu, Apr 9, 2009 at 2:14 AM, Pavel Dudrenov wrote:

So no bug, just a PEBKAC.

Is there a Pavel Dudrenov Bugzilla anywhere? I’m sure their
maintainers would appreciate it if you submitted a bug report and/or
patch :stuck_out_tongue:


http://codebad.com/


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


http://codebad.com/