diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-01-02 21:51:30 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-01-02 21:51:30 +0000 |
| commit | 9ec1f7cdba43874b4720c4bd9e6ea42525c4c832 (patch) | |
| tree | 43b32136406e53a72b85ae047d0ebee5b8dc5d6e | |
| parent | 14cf42ff0780bf58a6b54c9443c87c7402b61faa (diff) | |
fire the master first
| -rw-r--r-- | otk/eventdispatcher.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/otk/eventdispatcher.cc b/otk/eventdispatcher.cc index cca49f82..2d177d69 100644 --- a/otk/eventdispatcher.cc +++ b/otk/eventdispatcher.cc @@ -160,6 +160,9 @@ void OtkEventDispatcher::dispatch(const XEvent &e) { OtkEventHandler *handler; OtkEventMap::iterator it; + if (_master) + _master->handle(e); + it = _map.find(e.xany.window); if (it != _map.end()) @@ -169,9 +172,6 @@ void OtkEventDispatcher::dispatch(const XEvent &e) { if (handler) handler->handle(e); - - if (_master) - _master->handle(e); } OtkEventHandler *OtkEventDispatcher::findHandler(Window win) |
