summaryrefslogtreecommitdiff
path: root/userland/windowserver/ws.h
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2023-10-23 20:10:01 +0200
committerAnton Kling <anton@kling.gg>2023-10-23 20:10:01 +0200
commit3f44d16f5297a0f7d63f98e48eba46c1e2538a3e (patch)
tree91ab1f4b0e3eca45d3f6bc125379e3c1ae290a1f /userland/windowserver/ws.h
parent6382172ac01ef17913c54177e556706d6ae2ec7f (diff)
WindowServer/LibGUI: Add a eventloop
This can be used by any program does nothing until it gets user input.
Diffstat (limited to 'userland/windowserver/ws.h')
-rw-r--r--userland/windowserver/ws.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/userland/windowserver/ws.h b/userland/windowserver/ws.h
index 9236e01..241c960 100644
--- a/userland/windowserver/ws.h
+++ b/userland/windowserver/ws.h
@@ -3,6 +3,9 @@
#include <stddef.h>
#include <stdint.h>
+#define WINDOWSERVER_EVENT_KEYPRESS 0
+#define WINDOWSERVER_EVENT_WINDOW_EXIT 1
+
typedef struct {
int fd;
int bitmap_fd;