atspi: do not accept ELM_ATSPI_ROLE_IMAGE_MAP 95/162195/1
authorShinwoo Kim <cinoo.kim@samsung.com>
Wed, 29 Nov 2017 12:14:19 +0000 (21:14 +0900)
committerShinwoo Kim <cinoo.kim@samsung.com>
Wed, 29 Nov 2017 12:14:19 +0000 (21:14 +0900)
There are two widgets using ELM_ATSPI_ROLE_IMAGE_MAP role.
One is elm_mapbuf which does not have to grab highlight.
It does not make sense because the elm_mapbuf only works for its content.
The other is elm_map. So far the elm_map does not have to grab highlight, and
it seems that the ELM_ATSPI_ROLE_IMAGE_MAP is improper role for elm_map.
We have to find proper role for elm_map when it is neccesary to grab highlight.
So this patch set would be reasonable.

Change-Id: I8fc82c8f278b12f1e6367f4e40bf6b37c44b1481

src/lib/elm_widget.c

index d6a97e171e452541651ba81281d4e7520e140a83..ad09714cfb405abeeda6ec61b7f7e9a44d7ea132 100644 (file)
@@ -7304,6 +7304,7 @@ _elm_widget_atspi_role_acceptable_check(Eo *obj)
        case ELM_ATSPI_ROLE_SPLIT_PANE:
        case ELM_ATSPI_ROLE_WINDOW:
        case ELM_ATSPI_ROLE_IMAGE:
+       case ELM_ATSPI_ROLE_IMAGE_MAP:
        case ELM_ATSPI_ROLE_LIST:
        case ELM_ATSPI_ROLE_ICON:
        case ELM_ATSPI_ROLE_TOOL_BAR: