diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-01-23 09:01:40 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-01-23 09:01:40 +0000 |
| commit | 707f70682abe0dfaadbf76843a0dccb33f0eaeda (patch) | |
| tree | c34a8ef58c0a24afa6018a31dff54a973563db9f /src/python.hh | |
| parent | 9a64438a5a53624e5f5c7c3dbb5123e246693e5e (diff) | |
linear focus cycling
Diffstat (limited to 'src/python.hh')
| -rw-r--r-- | src/python.hh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/python.hh b/src/python.hh index b9798781..7cec7667 100644 --- a/src/python.hh +++ b/src/python.hh @@ -61,6 +61,7 @@ enum EventAction { EventCloseWindow, EventStartup, EventShutdown, + EventKey, EventFocus, EventBell, NUM_EVENTS @@ -147,6 +148,7 @@ public: Time time; unsigned int state; std::string key; + EventAction action; // this is here so that all the Data structs have .action KeyData(int screen, Client *client, Time time, unsigned int state, unsigned int key) { @@ -156,6 +158,7 @@ public: this->state = state; this->key = XKeysymToString(XKeycodeToKeysym(**otk::display, key, 0)); + this->action = EventKey; } }; |
