atspi: do not accept ELM_ATSPI_ROLE_IMAGE_MAP 87/163687/2
authorShinwoo Kim <cinoo.kim@samsung.com>
Wed, 29 Nov 2017 12:14:19 +0000 (21:14 +0900)
committerShinwoo Kim <cinoo.kim@samsung.com>
Wed, 13 Dec 2017 02:17:58 +0000 (11:17 +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 d89062b..3f1b03b 100644 (file)
@@ -7368,6 +7368,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: