diff options
author | Stephane Marchesin <stephane.marchesin@gmail.com> | 2010-09-22 11:53:21 -0700 |
---|---|---|
committer | Stephane Marchesin <stephane.marchesin@gmail.com> | 2010-09-22 11:53:21 -0700 |
commit | 2603fb51db63ac99f8692b0b906a32841273d7b3 (patch) | |
tree | 01f984fcb03f91c0e5c99676e6087f247ada7e9f /xlib_api.c | |
parent | 2109c0580fc8f9e4951e4b4d07af7f6f2838cd08 (diff) |
Diffstat (limited to 'xlib_api.c')
-rw-r--r-- | xlib_api.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -174,6 +174,8 @@ int XNextEvent( XEvent* event_return ) { + printf("event requested\n"); + event_return->type = KeyPress; } Display *XOpenDisplay( @@ -263,7 +265,7 @@ int XPutImage( } xenon_rect r = {src_x,src_y,width,height}; - draw_image(gc, image, r, dest_x, dest_y); + draw_image(gc, image, &r, dest_x, dest_y); printf("put image ok\n"); } |