summaryrefslogtreecommitdiff
path: root/userland/windowserver/ws.h
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2023-10-23 17:33:21 +0200
committerAnton Kling <anton@kling.gg>2023-10-23 17:33:21 +0200
commit64485df0e87a24275f5bd1df139052a95cee924c (patch)
treec59186d28aa2fad8c21ca66c39a0b379275c9aa0 /userland/windowserver/ws.h
parent3516c210da50dba1fd5d85af66ccbb43db6d2a8d (diff)
WindowServer: Remove client struct and make a client equivalent to a window
Diffstat (limited to 'userland/windowserver/ws.h')
-rw-r--r--userland/windowserver/ws.h8
1 files changed, 2 insertions, 6 deletions
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 <stdint.h>
typedef struct {
+ int fd;
int bitmap_fd;
uint32_t *bitmap_ptr;
int x;
@@ -13,11 +14,6 @@ typedef struct {
} WINDOW;
typedef struct {
- int fd;
- WINDOW *w;
-} CLIENT;
-
-typedef struct {
int vga_fd;
int wallpaper_fd;
uint8_t *wallpaper_buffer;
@@ -27,6 +23,6 @@ typedef struct {
uint8_t border_size;
uint8_t border_color;
uint8_t wallpaper_color;
- CLIENT **clients;
+ WINDOW **windows;
} DISPLAY;
#endif