]> Dogcows Code - chaz/openbox/blobdiff - otk/eventdispatcher.hh
rework focus event handling. does it basically like ob2 did now. and it seems to...
[chaz/openbox] / otk / eventdispatcher.hh
index f0e23c8f9ce4d68ee2789429bda842f9c94ce725..63e4ff2913ae733579bb399d0b9c9162e7dd9afd 100644 (file)
@@ -31,18 +31,20 @@ public:
   otk::OtkEventHandler *getMasterHandler(void) const { return _master; }
 
   otk::OtkEventHandler *findHandler(Window win);
+
+  inline Time lastTime() const { return _lasttime; }
   
 private:
   OtkEventMap _map;
   OtkEventHandler *_fallback;
   OtkEventHandler *_master;
   Window _focus;
-  XEvent _focus_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);
+  void dispatch(Window win, const XEvent &e);
+  void dispatchFocus(const XEvent &e);
 };
 
 }
This page took 0.022185 seconds and 4 git commands to generate.