On Wed, 18 Mar 2009 14:57:08 -0700, Elliott Slaughter  
<elliottslaugh...@gmail.com> wrote:

> Hi,
>
> Two questions:
>
> I have noticed that calling sdl:window causes keyboard input to reset.  
> That
> is, upon calling sdl:window, I get key-up events for each key pressed,  
> even
> if the user didn't lift up on the key. Is this expected behavior?

So for the duration that a key is depressed, you receive a continuous  
stream of key-up events? That is weird. The SDL docs don't mention any  
impact that a new display surface would have on the event queue.

> Is there any way to change the title-caption for the window, other than  
> by
> calling sdl:window? Currently if I change the title-caption while my  
> game is
> running, I get strange bugs, like the player stopping despite movement  
> keys
> being pressed. These aren't show-stopping bugs, but they are a little  
> strange.

Use (sdl-cffi::sdl-WM-Set-Caption title-caption icon-caption) until I get  
around to wrapping this.

- Luke
_______________________________________________
application-builder mailing list
application-builder@lispniks.com
http://www.lispniks.com/mailman/listinfo/application-builder

Reply via email to