From 34c4a90794e78b97e4bd24f09c457d5e171e53f4 Mon Sep 17 00:00:00 2001 From: Miguel Date: Sat, 29 Sep 2018 01:51:16 +0200 Subject: first prototype of compositing window manager --- kernel/scheduler.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'kernel/scheduler.c') diff --git a/kernel/scheduler.c b/kernel/scheduler.c index 23ed7b2..e5cdec7 100644 --- a/kernel/scheduler.c +++ b/kernel/scheduler.c @@ -2,6 +2,7 @@ #include "kernel.h" #include "gdt.h" #include "log.h" +#include "compositor.h" #include "smp.h" #include "mem.h" @@ -263,6 +264,8 @@ volatile int add_task(uint32_t parent_pid,uint32_t vmem, bool thread) uint32_t *stack=task_list[cpu][i].esp; stack[12]=0x1; stack[13]=0; // this task returns pid=0 to the caller + + if(!thread)compositor_add_window(vmem); return task_list[cpu][i].pid; } -- cgit v1.2.3