diff options
author | Anton Kling <anton@kling.gg> | 2023-10-23 20:10:01 +0200 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2023-10-23 20:10:01 +0200 |
commit | 3f44d16f5297a0f7d63f98e48eba46c1e2538a3e (patch) | |
tree | 91ab1f4b0e3eca45d3f6bc125379e3c1ae290a1f /userland/windowserver/ws.h | |
parent | 6382172ac01ef17913c54177e556706d6ae2ec7f (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.h | 3 |
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; |