diff options
| -rw-r--r-- | otk/eventdispatcher.cc | 4 | ||||
| -rw-r--r-- | otk/eventdispatcher.hh | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/otk/eventdispatcher.cc b/otk/eventdispatcher.cc index 73c329e8..4a70c857 100644 --- a/otk/eventdispatcher.cc +++ b/otk/eventdispatcher.cc @@ -123,8 +123,8 @@ void OtkEventDispatcher::dispatch(const XEvent &e) { if (handler) handler->handle(e); - if (master) - master->handle(e); + if (_master) + _master->handle(e); } OtkEventHandler *OtkEventDispatcher::findHandler(Window win) diff --git a/otk/eventdispatcher.hh b/otk/eventdispatcher.hh index 716a8118..f0e23c8f 100644 --- a/otk/eventdispatcher.hh +++ b/otk/eventdispatcher.hh @@ -36,6 +36,7 @@ private: OtkEventMap _map; OtkEventHandler *_fallback; OtkEventHandler *_master; + Window _focus; XEvent _focus_e; //! The time at which the last XEvent with a time was received |
