projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14cf42f
)
fire the master first
author
Dana Jansens
<danakj@orodu.net>
Thu, 2 Jan 2003 21:51:30 +0000
(21:51 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Thu, 2 Jan 2003 21:51:30 +0000
(21:51 +0000)
otk/eventdispatcher.cc
patch
|
blob
|
history
diff --git
a/otk/eventdispatcher.cc
b/otk/eventdispatcher.cc
index cca49f82d6aa12cdfcccc9fc88d71d2c6fd078bf..2d177d6937912192151c6f305d144e00bee69a5b 100644
(file)
--- 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)