projects
/
profile
/
ivi
/
clutter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af07264
)
Add a warning for recursive emit_event
author
Øyvind Kolås
<pippin@linux.intel.com>
Fri, 27 Feb 2009 17:59:16 +0000
(17:59 +0000)
committer
Øyvind Kolås
<pippin@linux.intel.com>
Fri, 27 Feb 2009 17:59:16 +0000
(17:59 +0000)
When event delivery is invoked by synthetic events through
clutter_do_event from inside an event handler clutter was silently
ignoring it, this warning will hopefully help resolving some issues.
clutter/clutter-main.c
patch
|
blob
|
history
diff --git
a/clutter/clutter-main.c
b/clutter/clutter-main.c
index
fecc0c6
..
2acee48
100644
(file)
--- a/
clutter/clutter-main.c
+++ b/
clutter/clutter-main.c
@@
-1748,7
+1748,10
@@
emit_event (ClutterEvent *event,
/* reentrancy check */
if (lock != FALSE)
- return;
+ {
+ g_warning ("Tried emitting event during event delivery, bailing out.n");
+ return;
+ }
lock = TRUE;