aboutsummaryrefslogtreecommitdiff
path: root/apps/wm.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/wm.c')
-rw-r--r--apps/wm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/wm.c b/apps/wm.c
index 262270a..f3ac901 100644
--- a/apps/wm.c
+++ b/apps/wm.c
@@ -4,6 +4,7 @@
#include <gui.h>
#include <input.h>
#include <print.h>
+#include <random.h>
#include <sys.h>
#include <vesa.h>
@@ -18,6 +19,8 @@ void onkey(u32 scancode)
int main(int argc, char **argv)
{
+ srand(time());
+
printf("ARGC: %d\n", argc);
printf("[%s loaded]\n", argv[0]);