summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_win.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-07-17 14:24:30 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-07-17 14:24:30 +0900
commit9baa8752a9170e68e9430474f26cc1e672677d8e (patch)
treec52cae7fd1404b3b03998ed0a0847d4120a5aba6 /src/lib/elementary/efl_ui_win.c
parent9c18f0d00ac530563547706b603c62e7e25d9b47 (diff)
win: Fix ABI compatibility for grab modifiers
This fixes an ABI change when moving from unsigned long long modifier mask to a simple enum. This is a fix for the release of EFL 1.20.
Diffstat (limited to '')
-rw-r--r--src/lib/elementary/efl_ui_win.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c
index cd54c583ca..dd23d99061 100644
--- a/src/lib/elementary/efl_ui_win.c
+++ b/src/lib/elementary/efl_ui_win.c
@@ -8071,6 +8071,24 @@ elm_win_resize_object_del(Eo *obj, Evas_Object *subobj)
8071 ERR("could not remove sub object %p from window %p", subobj, obj); 8071 ERR("could not remove sub object %p from window %p", subobj, obj);
8072} 8072}
8073 8073
8074EAPI Eina_Bool
8075elm_win_keygrab_set(Elm_Win *obj, const char *key,
8076 Evas_Modifier_Mask modifiers, Evas_Modifier_Mask not_modifiers,
8077 int priority, Elm_Win_Keygrab_Mode grab_mode)
8078{
8079 return efl_ui_win_keygrab_set(obj, key,
8080 (Efl_Input_Modifier) modifiers,
8081 (Efl_Input_Modifier) not_modifiers,
8082 priority, grab_mode);
8083}
8084
8085EAPI Eina_Bool
8086elm_win_keygrab_unset(Elm_Win *obj, const char *key, Evas_Modifier_Mask modifiers, Evas_Modifier_Mask not_modifiers)
8087{
8088 return efl_ui_win_keygrab_unset(obj, key,
8089 (Efl_Input_Modifier) modifiers,
8090 (Efl_Input_Modifier) not_modifiers);
8091}
8074 8092
8075// deprecated 8093// deprecated
8076EAPI void 8094EAPI void