Add case for keyboard geometry changing. (not completely handled yet, but

conformant widget does get notified now).



SVN revision: 46403
This commit is contained in:
Christopher Michael 2010-02-23 20:54:39 +00:00
parent 02bda69e48
commit 7b48a5bc95
1 changed files with 9 additions and 1 deletions

View File

@ -183,8 +183,16 @@ _prop_change(void *data, int type, void *event)
evas_object_size_hint_min_set(wd->panel, -1, sh);
evas_object_size_hint_max_set(wd->panel, -1, sh);
}
else if (ev->atom == ECORE_X_ATOM_E_ILLUME_KEYBOARD_GEOMETRY)
{
Ecore_X_Window zone;
int ky = -1;
// FIXME: listen to kbd region property changes too.
printf("Keyboard Geometry Changed\n");
zone = ecore_x_e_illume_zone_get(ev->win);
ecore_x_e_illume_keyboard_geometry_get(zone, NULL, &ky, NULL, NULL);
printf("\tGeom: %d\n", ky);
}
#endif
return 1;