diff options
Diffstat (limited to 'src/ui/widget.c')
-rw-r--r-- | src/ui/widget.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/widget.c b/src/ui/widget.c index c4003254..beec8f0e 100644 --- a/src/ui/widget.c +++ b/src/ui/widget.c | |||
@@ -464,12 +464,14 @@ iBool dispatchEvent_Widget(iWidget *d, const SDL_Event *ev) { | |||
464 | continue; | 464 | continue; |
465 | } | 465 | } |
466 | if (dispatchEvent_Widget(child, ev)) { | 466 | if (dispatchEvent_Widget(child, ev)) { |
467 | #if 0 | ||
467 | if (ev->type == SDL_MOUSEBUTTONDOWN) { | 468 | if (ev->type == SDL_MOUSEBUTTONDOWN) { |
468 | printf("widget %p ('%s' class:%s) ate the mouse down\n", | 469 | printf("widget %p ('%s' class:%s) ate the mouse down\n", |
469 | child, cstr_String(id_Widget(child)), | 470 | child, cstr_String(id_Widget(child)), |
470 | class_Widget(child)->name); | 471 | class_Widget(child)->name); |
471 | fflush(stdout); | 472 | fflush(stdout); |
472 | } | 473 | } |
474 | #endif | ||
473 | return iTrue; | 475 | return iTrue; |
474 | } | 476 | } |
475 | } | 477 | } |