diff options
Diffstat (limited to 'Tests/X11')
-rw-r--r-- | Tests/X11/X11.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Tests/X11/X11.c b/Tests/X11/X11.c index fae9999..ed5d491 100644 --- a/Tests/X11/X11.c +++ b/Tests/X11/X11.c @@ -30,7 +30,8 @@ char **argv; mywindow=XCreateSimpleWindow(mydisplay, DefaultRootWindow(mydisplay), - myhint.x, myhint.y, myhint.width, myhint.height, 5, + myhint.x, myhint.y, myhint.width, + myhint.height, 5, myforeground, mybackground ); XDestroyWindow(mydisplay, mywindow); XCloseDisplay(mydisplay); @@ -40,8 +41,11 @@ char **argv; #else +#include "stdio.h" + int main() { + printf("No X on this computer\n"); return 0; } |