summaryrefslogtreecommitdiff
path: root/src/shared/include/winact.h
blob: bc18cb4c443dd76fb89977ea658b26c9edefd854 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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