summaryrefslogtreecommitdiff
path: root/otk/eventdispatcher.hh
diff options
context:
space:
mode:
Diffstat (limited to 'otk/eventdispatcher.hh')
-rw-r--r--otk/eventdispatcher.hh4
1 files changed, 3 insertions, 1 deletions
diff --git a/otk/eventdispatcher.hh b/otk/eventdispatcher.hh
index a55b5b82..6a66afd1 100644
--- a/otk/eventdispatcher.hh
+++ b/otk/eventdispatcher.hh
@@ -31,6 +31,8 @@ public:
otk::OtkEventHandler *getMasterHandler(void) const { return _master; }
otk::OtkEventHandler *findHandler(Window win);
+
+ inline Time lastTime() const { return _lasttime; }
private:
OtkEventMap _map;
@@ -41,7 +43,7 @@ private:
XEvent _crossing_e;
//! The time at which the last XEvent with a time was received
- Time _lasttime; // XXX: store this! also provide an accessor!
+ Time _lasttime;
void dispatch(const XEvent &e);
};