summaryrefslogtreecommitdiff
path: root/userland/windowserver/ws.h
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2024-03-25 14:41:22 +0100
committerAnton Kling <anton@kling.gg>2024-03-25 17:56:47 +0100
commit6baa733f5682f660143c851a635a53dc2c2df7ae (patch)
treea3026692cac900d4ba54556f09a8f8ba08091437 /userland/windowserver/ws.h
parent1217ad6470585cd57c17eaec020598457cd89230 (diff)
WindowServer: Add focus, minimize support
Diffstat (limited to 'userland/windowserver/ws.h')
-rw-r--r--userland/windowserver/ws.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/userland/windowserver/ws.h b/userland/windowserver/ws.h
index 477f123..9978b9c 100644
--- a/userland/windowserver/ws.h
+++ b/userland/windowserver/ws.h
@@ -16,6 +16,9 @@ typedef struct {
int sy;
int buffer_sx;
int buffer_sy;
+ int minimized;
+ struct WINDOW *next;
+ struct WINDOW *prev;
} WINDOW;
typedef struct {
@@ -32,6 +35,7 @@ typedef struct {
uint8_t border_color;
uint8_t wallpaper_color;
WINDOW *active_window;
- WINDOW **windows;
+ WINDOW *window;
+ WINDOW *window_tail;
} DISPLAY;
#endif