#ifndef SHARED_WINACT_H #define SHARED_WINACT_H #include 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