summaryrefslogtreecommitdiff
path: root/xlib_api.c
diff options
context:
space:
mode:
authorStephane Marchesin <stephane.marchesin@gmail.com>2010-09-22 11:53:21 -0700
committerStephane Marchesin <stephane.marchesin@gmail.com>2010-09-22 11:53:21 -0700
commit2603fb51db63ac99f8692b0b906a32841273d7b3 (patch)
tree01f984fcb03f91c0e5c99676e6087f247ada7e9f /xlib_api.c
parent2109c0580fc8f9e4951e4b4d07af7f6f2838cd08 (diff)
More rendering...HEADmaster
Diffstat (limited to 'xlib_api.c')
-rw-r--r--xlib_api.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/xlib_api.c b/xlib_api.c
index 760e80d..6d63a48 100644
--- a/xlib_api.c
+++ b/xlib_api.c
@@ -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");
}