summaryrefslogtreecommitdiff
path: root/src/ui/widget.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2020-09-07 07:04:51 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2020-09-07 07:04:51 +0300
commit49c7cc84b04c5a2bb15696f3de532d38573be028 (patch)
tree410a08ecfbdaf8af31c9227c8e0d1eb23051be88 /src/ui/widget.c
parentc58c46c96cf490a1d585a28560dda138479f00be (diff)
Updating URL after selecting lookup item
Diffstat (limited to 'src/ui/widget.c')
-rw-r--r--src/ui/widget.c2
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 }