From b8ca0766a2006e4a11451cf447ac02372c996c12 Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Mon, 23 Oct 2023 14:27:22 +0200 Subject: WindowServer: Make the wallpaper be stored in a shared memory region. This allow other processes to easily modify the wallpaper by opening the memory region and poking into memory. --- userland/windowserver/ws.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'userland/windowserver/ws.h') diff --git a/userland/windowserver/ws.h b/userland/windowserver/ws.h index c4daf7b..864fc53 100644 --- a/userland/windowserver/ws.h +++ b/userland/windowserver/ws.h @@ -19,6 +19,8 @@ typedef struct { typedef struct { int vga_fd; + int wallpaper_fd; + uint8_t *wallpaper_buffer; uint8_t *back_buffer; uint8_t *true_buffer; size_t size; -- cgit v1.2.3