From 707f70682abe0dfaadbf76843a0dccb33f0eaeda Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 23 Jan 2003 09:01:40 +0000 Subject: linear focus cycling --- src/python.hh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/python.hh') 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; } }; -- cgit v1.2.3