]> Dogcows Code - chaz/openbox/blobdiff - otk/eventdispatcher.hh
handle unmaps better. all thanks to acroread sending wacky unmap events
[chaz/openbox] / otk / eventdispatcher.hh
index a9b5af7b2997056a3831decf5b230fb822f189b7..caf33ad0817b454e0f52f9ec41897082e046b0f9 100644 (file)
@@ -31,14 +31,21 @@ 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;
+  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(Window win, const XEvent &e);
 };
 
 }
This page took 0.02239 seconds and 4 git commands to generate.