diff options
author | Anton Kling <anton@kling.gg> | 2023-10-23 14:27:22 +0200 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2023-10-23 14:27:22 +0200 |
commit | b8ca0766a2006e4a11451cf447ac02372c996c12 (patch) | |
tree | 4e0d70324aaac483e84af5808f016e4224a2d738 /userland/windowserver/ws.h | |
parent | e8643790b093a4b25651aff14b85c492ffcae3f2 (diff) |
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.
Diffstat (limited to 'userland/windowserver/ws.h')
-rw-r--r-- | userland/windowserver/ws.h | 2 |
1 files changed, 2 insertions, 0 deletions
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; |