--- /dev/null
+/*
+ * webcam.c - fetch data from webcam
+ *
+ * author: hackbard
+ *
+ */
+
+include <stdio.h>
+include <stdlib.h>
+include <string.h>
+
+include <X11/Xlib.h>
+
+include "minirgb.h"
+
+Display *display;
+
+int main(int argc,char **argv) {
+ XEvent xevent;
+ char *image, *device=VIDEO_DEV;
+
+
+ display=XOpenDisplay(NULL);