]> Dogcows Code - chaz/openbox/commitdiff
fire the master first
authorDana Jansens <danakj@orodu.net>
Thu, 2 Jan 2003 21:51:30 +0000 (21:51 +0000)
committerDana Jansens <danakj@orodu.net>
Thu, 2 Jan 2003 21:51:30 +0000 (21:51 +0000)
otk/eventdispatcher.cc

index cca49f82d6aa12cdfcccc9fc88d71d2c6fd078bf..2d177d6937912192151c6f305d144e00bee69a5b 100644 (file)
@@ -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)
This page took 0.02726 seconds and 4 git commands to generate.