From 38bff124550a79a4daf0488531136f49f46475e1 Mon Sep 17 00:00:00 2001
From: fluxgen <fluxgen>
Date: Wed, 27 Aug 2003 00:21:54 +0000
Subject: minor fix

---
 src/FbTk/EventManager.cc | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/FbTk/EventManager.cc b/src/FbTk/EventManager.cc
index cd23416..eadc701 100644
--- a/src/FbTk/EventManager.cc
+++ b/src/FbTk/EventManager.cc
@@ -19,7 +19,7 @@
 // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
 // DEALINGS IN THE SOFTWARE.
 
-// $Id: EventManager.cc,v 1.7 2003/08/23 15:44:06 fluxgen Exp $
+// $Id: EventManager.cc,v 1.8 2003/08/27 00:21:54 fluxgen Exp $
 
 #include "EventManager.hh"
 #include "FbWindow.hh"
@@ -70,7 +70,6 @@ void EventManager::unregisterEventHandler(Window win) {
 }
 
 void EventManager::dispatch(Window win, XEvent &ev, bool parent) {
-    
     EventHandler *evhand = 0;
     if (parent)
         evhand = m_parent[win];
@@ -80,7 +79,7 @@ void EventManager::dispatch(Window win, XEvent &ev, bool parent) {
     if (evhand == 0)
         return;
 
-    switch (ev.xany.type) {
+    switch (ev.type) {
     case KeyPress:
         evhand->keyPressEvent(ev.xkey);
 	break;
-- 
cgit v0.11.2