summaryrefslogtreecommitdiff
path: root/userland/windowserver/ws.h
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2023-10-24 01:10:35 +0200
committerAnton Kling <anton@kling.gg>2023-10-24 01:10:35 +0200
commit0f208f4f03d0df85aacafa35deba11f19e96b5dd (patch)
tree475cf2e00ac4dfc166174c8a0731846b7946bada /userland/windowserver/ws.h
parent1fb51985714f0b16e89d038439ffb2ecaed1187d (diff)
WindowServer: Don't hardcode the display resolution
Diffstat (limited to 'userland/windowserver/ws.h')
-rw-r--r--userland/windowserver/ws.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/userland/windowserver/ws.h b/userland/windowserver/ws.h
index 241c960..6f8eee3 100644
--- a/userland/windowserver/ws.h
+++ b/userland/windowserver/ws.h
@@ -22,7 +22,10 @@ typedef struct {
uint8_t *wallpaper_buffer;
uint8_t *back_buffer;
uint8_t *true_buffer;
- size_t size;
+ uint32_t size;
+ uint32_t width;
+ uint32_t height;
+ uint32_t bpp;
uint8_t border_size;
uint8_t border_color;
uint8_t wallpaper_color;