/* Process a keyboard event. 
This function is only called by  */
static void win_process_keyboard_event(struct win_keyboard_event *kevent)
/* Process a keyboard event. 
This function is only called by  */
static void win_process_keyboard_event(struct win_keyboard_event *kevent)
{
	if (win_keyboard_focus) {
		struct win_window *win = win_keyboard_focus;
		do {
			bool accepted = win_handle_event(win,
					WIN_EVENT_KEYBOARD, kevent);
			if (accepted) {
				break;
			}
			win = win->parent;
		} while (win != NULL);
	}
}