From: Dana Jansens Date: Thu, 26 Dec 2002 10:58:05 +0000 (+0000) Subject: build fixes for evetdispatcher X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=150c28620e1f14b7249038068bccca9563526377;p=chaz%2Fopenbox build fixes for evetdispatcher --- 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