Call other event handlers, too.
authorTilman Sauerbeck <tilman@code-monkey.de>
Thu, 19 Aug 2004 22:20:10 +0000 (22:20 +0000)
committerTilman Sauerbeck <tilman@code-monkey.de>
Thu, 19 Aug 2004 22:20:10 +0000 (22:20 +0000)
src/ecore/rb_event_handler.c

index 63c501632750095f17510e3169e6d1e65f450418..7d729ae947731fb7752ed1548aaf14de98bbcfca 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * $Id: rb_event_handler.c 77 2004-08-19 17:39:29Z tilman $
+ * $Id: rb_event_handler.c 79 2004-08-19 22:20:10Z tilman $
  *
  * Copyright (C) 2004 ruby-ecore team (see AUTHORS)
  *
  *
  * Copyright (C) 2004 ruby-ecore team (see AUTHORS)
  *
@@ -108,7 +108,8 @@ int on_ecore_event (void *data, int type, void *event)
        if (type == ECORE_EVENT_SIGNAL_EXIT && !called)
                ecore_main_loop_quit ();
 
        if (type == ECORE_EVENT_SIGNAL_EXIT && !called)
                ecore_main_loop_quit ();
 
-       return 0;
+       /* call other event handlers, too */
+       return 1;
 }
 
 VALUE c_ev_generic_init (VALUE self, VALUE event)
 }
 
 VALUE c_ev_generic_init (VALUE self, VALUE event)