diff options
Diffstat (limited to 'src/shared/include/winact.h')
-rw-r--r-- | src/shared/include/winact.h | 19 |
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 |