]> Dogcows Code - chaz/openbox/blobdiff - otk/eventdispatcher.hh
make focus work without races.
[chaz/openbox] / otk / eventdispatcher.hh
index 716a81189eb9ca55b55229303310996dc10d71b6..97f86564ac6ff30f472bb74ac07d5597a66efbf0 100644 (file)
@@ -31,17 +31,18 @@ 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;
-  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);
 };
 
 }
This page took 0.024572 seconds and 4 git commands to generate.