Fixed Event_Mask_Syms/Event_Syms confusion.
This commit is contained in:
parent
2a471242a5
commit
bb12a98fa8
|
@ -1,7 +1,7 @@
|
||||||
#include "xlib.h"
|
#include "xlib.h"
|
||||||
#include "scheme48.h"
|
#include "scheme48.h"
|
||||||
|
|
||||||
SYMDESCR Event_Names[] = {
|
SYMDESCR Event_Syms[] = {
|
||||||
{ "key-press", KeyPress },
|
{ "key-press", KeyPress },
|
||||||
{ "key-release", KeyRelease },
|
{ "key-release", KeyRelease },
|
||||||
{ "button-press", ButtonPress },
|
{ "button-press", ButtonPress },
|
||||||
|
@ -339,7 +339,7 @@ s48_value enter_event(XEvent* e) {
|
||||||
// more??
|
// more??
|
||||||
|
|
||||||
// And the Event-Name
|
// And the Event-Name
|
||||||
r = s48_cons( Bit_To_Symbol(e->type, Event_Names), r );
|
r = s48_cons( Bit_To_Symbol(e->type, Event_Syms), r );
|
||||||
|
|
||||||
S48_GC_UNPROTECT();
|
S48_GC_UNPROTECT();
|
||||||
return r;
|
return r;
|
||||||
|
|
Loading…
Reference in New Issue