summaryrefslogtreecommitdiff
path: root/src/shared/include/winact.h
diff options
context:
space:
mode:
authorBenji Dial <benji6283@gmail.com>2021-01-24 12:00:11 -0500
committerBenji Dial <benji6283@gmail.com>2021-01-24 12:00:11 -0500
commitbce944d1498eaa3b6940ee234c863b3548a66b37 (patch)
treeea40c087ab4f0f236aee8d158cf68550f5209f72 /src/shared/include/winact.h
parentca731aa747214919df7b3dfe3478dbe787ce5b68 (diff)
downloadportland-os-bce944d1498eaa3b6940ee234c863b3548a66b37.tar.gz
graphics!
Diffstat (limited to 'src/shared/include/winact.h')
-rw-r--r--src/shared/include/winact.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/shared/include/winact.h b/src/shared/include/winact.h
new file mode 100644
index 0000000..bc18cb4
--- /dev/null
+++ b/src/shared/include/winact.h
@@ -0,0 +1,19 @@
+#ifndef SHARED_WINACT_H
+#define SHARED_WINACT_H
+
+#include <keypack.h>
+
+struct window_action {
+ enum {
+ NOT_READY,
+ KEY_DOWN,
+ KEY_UP,
+ FOCUS_ENTER,
+ FOCUS_LEAVE
+ } action_type;
+ union {
+ struct key_packet as_key;
+ };
+} __attribute__ ((__packed__));
+
+#endif \ No newline at end of file