+ if(Widget *child = get_pointer_target(x, y, true))
+ {
+ const Geometry &cgeom = child->get_geometry();
+ child->touch_motion(x-cgeom.x, y-cgeom.y, finger);
+ }
+}
+
+bool Container::key_press(unsigned key, unsigned mod)
+{
+ if(input_focus && input_focus->is_enabled())
+ return input_focus->key_press(key, mod);
+ else
+ return false;
+}
+
+bool Container::key_release(unsigned key, unsigned mod)
+{
+ if(input_focus && input_focus->is_enabled())
+ return input_focus->key_release(key, mod);
+ else
+ return false;
+}
+
+bool Container::character(wchar_t ch)
+{
+ if(input_focus && input_focus->is_enabled())
+ return input_focus->character(ch);
+ else
+ return false;