changeset: 41:76f301c02b49
user: Robert Ransom <rransom.8774_AT_gmail.com>
date: Sat May 08 15:03:17 2010 -0700
files: gi_sdl.c
description:
Fix "event: key ..." bread crumbs.
diff -r 34666aff016e -r 76f301c02b49 gi_sdl.c
--- a/gi_sdl.c Fri May 07 13:44:45 2010 +0200
+++ b/gi_sdl.c Sat May 08 15:03:17 2010 -0700
@@ -187,8 +187,6 @@
ret->data.key.modmask |= Alt;
if(event.key.keysym.mod & KMOD_META)
ret->data.key.modmask |= Meta;
- fprintf(stderr, "event: key %d %d\n",
- ret->data.key.modmask, ret->data.key.keycode);
if(ret->data.key.keycode != 0 && event.key.keysym.unicode != 0) {
ret->data.key.keycode = event.key.keysym.unicode;
} else {
@@ -207,6 +205,8 @@
break;
}
}
+ fprintf(stderr, "event: key %d %d\n",
+ ret->data.key.modmask, ret->data.key.keycode);
break;
case SDL_QUIT:
ret->type = EQuit;
Received on Sun May 09 2010 - 02:44:00 UTC
This archive was generated by hypermail 2.2.0 : Sun May 09 2010 - 02:48:03 UTC