]> Dogcows Code - chaz/openbox/blobdiff - otk/eventdispatcher.hh
enter/leave actions work!
[chaz/openbox] / otk / eventdispatcher.hh
index 5e7a1fe484fff6400aa84a7005879c64d567cb07..b56445a4bbda18d3da599ebcabf09f505254d606 100644 (file)
@@ -24,10 +24,19 @@ public:
   { _fallback = fallback; }
   OtkEventHandler *getFallbackHandler(void) const { return _fallback; }
 
+  //! Sets an event handler that gets all events for all handlers after
+  //! any specific handlers have received them
+  inline void setMasterHandler(OtkEventHandler *master)
+  { _master = master; }
+  OtkEventHandler *getMasterHandler(void) const { return _master; }
+  
 private:
   OtkEventMap _map;
   OtkEventHandler *_fallback;
+  OtkEventHandler *_master;
 
+  //! The time at which the last XEvent with a time was received
+  Time _lasttime; // XXX: store this! also provide an accessor!
 };
 
 }
This page took 0.022154 seconds and 4 git commands to generate.