summaryrefslogtreecommitdiff
path: root/userland/windowserver/draw.h
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2023-10-23 14:27:22 +0200
committerAnton Kling <anton@kling.gg>2023-10-23 14:27:22 +0200
commitb8ca0766a2006e4a11451cf447ac02372c996c12 (patch)
tree4e0d70324aaac483e84af5808f016e4224a2d738 /userland/windowserver/draw.h
parente8643790b093a4b25651aff14b85c492ffcae3f2 (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/draw.h')
-rw-r--r--userland/windowserver/draw.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/userland/windowserver/draw.h b/userland/windowserver/draw.h
index bf9ff4f..cebe0fa 100644
--- a/userland/windowserver/draw.h
+++ b/userland/windowserver/draw.h
@@ -4,6 +4,7 @@
#define WIDTH 0x500
#define HEIGHT 0x320
+#define BPP 4
void draw_wallpaper(DISPLAY *disp);
void draw_window(DISPLAY *disp, const WINDOW *w);