summaryrefslogtreecommitdiff
path: root/framebuffer/fbtk/event.c
diff options
context:
space:
mode:
Diffstat (limited to 'framebuffer/fbtk/event.c')
-rw-r--r--framebuffer/fbtk/event.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/framebuffer/fbtk/event.c b/framebuffer/fbtk/event.c
index c1ddaeeb0..c1c4bc1ee 100644
--- a/framebuffer/fbtk/event.c
+++ b/framebuffer/fbtk/event.c
@@ -52,8 +52,10 @@ fbtk_input(fbtk_widget_t *root, nsfb_event_t *event)
/* obtain widget with input focus */
input = root->u.root.input;
- if (input == NULL)
+ if (input == NULL) {
+ LOG(("No widget has input focus."));
return; /* no widget with input */
+ }
fbtk_post_callback(input, FBTK_CBT_INPUT, event);
}