if (device & IVI_CONTROLLER_SURFACE_INPUT_DEVICE_KEYBOARD) {
if (enabled) {
- ivi_layout_SetKeyboardFocusOn(ivisurf->layout_surface);
+ uint32_t id = ivi_layout_getIdOfSurface(ivisurf->layout_surface);
+ ivi_layout_SetKeyboardFocusOn(&id, 1);
send_all_keyboard_focus(ivisurf->shell);
}
}
* \return -1 if the method call was failed
*/
int32_t
-ivi_layout_SetKeyboardFocusOn(struct ivi_layout_surface *ivisurf);
+ivi_layout_SetKeyboardFocusOn(uint32_t *surface_ids, size_t size);
/**
* \brief Get the indentifier of the surface which hold the keyboard focus
* \return -1 if the method call was failed
*/
int32_t
-ivi_layout_GetKeyboardFocusSurfaceId(struct ivi_layout_surface **pSurfaceId);
+ivi_layout_GetKeyboardFocusSurfaceId(uint32_t *surface_ids, size_t size, uint32_t *count);
/**
* \brief Set the destination area of a surface within a layer for rendering.