From 64485df0e87a24275f5bd1df139052a95cee924c Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Mon, 23 Oct 2023 17:33:21 +0200 Subject: WindowServer: Remove client struct and make a client equivalent to a window --- userland/windowserver/ws.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'userland/windowserver/ws.h') diff --git a/userland/windowserver/ws.h b/userland/windowserver/ws.h index 864fc53..80f4726 100644 --- a/userland/windowserver/ws.h +++ b/userland/windowserver/ws.h @@ -4,6 +4,7 @@ #include typedef struct { + int fd; int bitmap_fd; uint32_t *bitmap_ptr; int x; @@ -12,11 +13,6 @@ typedef struct { int sy; } WINDOW; -typedef struct { - int fd; - WINDOW *w; -} CLIENT; - typedef struct { int vga_fd; int wallpaper_fd; @@ -27,6 +23,6 @@ typedef struct { uint8_t border_size; uint8_t border_color; uint8_t wallpaper_color; - CLIENT **clients; + WINDOW **windows; } DISPLAY; #endif -- cgit v1.2.3