summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunSeok, Kim <juns.kim@samsung.com>2017-09-18 17:18:30 +0900
committerJunSeok, Kim <juns.kim@samsung.com>2017-09-18 17:18:30 +0900
commit70fe9c7038d4f28106a10acd519c03d9e8b39a5c (patch)
tree24eb1060c231b280637db37ca72de35b8f828251
parent3f5a50eb4089ad9af1760d498dbac9cfdc9f8973 (diff)
downloadefl-util-70fe9c7038d4f28106a10acd519c03d9e8b39a5c.tar.gz
efl-util-70fe9c7038d4f28106a10acd519c03d9e8b39a5c.tar.bz2
efl-util-70fe9c7038d4f28106a10acd519c03d9e8b39a5c.zip
efl_util: change version of tizen_policy from 1 to 7.
Changing version of tizen_policy from 1 to 7 because of tizen_extensions version up. And implements dumy callback function for higher version. Change-Id: I41fcc8a963a3f40fa78133dc2c5d7ee4f4f2c460
-rw-r--r--src/efl_util.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/efl_util.c b/src/efl_util.c
index 76c5cf0..aff5a0d 100644
--- a/src/efl_util.c
+++ b/src/efl_util.c
@@ -267,6 +267,7 @@ static void _cb_wl_tz_policy_iconify_state_changed(void *data
static void _cb_wl_tz_policy_supported_aux_hints(void *data, struct tizen_policy *tizen_policy, struct wl_surface *surface_resource, struct wl_array *hints, uint32_t num_hints);
static void _cb_wl_tz_policy_allowed_aux_hint(void *data, struct tizen_policy *tizen_policy, struct wl_surface *surface_resource, int id);
static void _cb_wl_tz_policy_aux_message(void *data, struct tizen_policy *tizen_policy, struct wl_surface *surface_resource, const char *key, const char *val, struct wl_array *options);
+static void _cb_wl_conformant_region(void *data, struct tizen_policy *tizen_policy, struct wl_surface *surface, uint32_t conformant_part, uint32_t state, int32_t x, int32_t y, int32_t w, int32_t h, uint32_t serial);
static void _cb_wl_tz_display_policy_brightness_done(void *data, struct tizen_display_policy *tizen_display_policy, struct wl_surface *surface_resource, int32_t brightness, uint32_t state);
@@ -309,6 +310,7 @@ struct tizen_policy_listener _wl_tz_policy_listener =
_cb_wl_tz_policy_supported_aux_hints,
_cb_wl_tz_policy_allowed_aux_hint,
_cb_wl_tz_policy_aux_message,
+ _cb_wl_conformant_region,
};
struct tizen_input_device_manager_listener _wl_tz_devmgr_listener =
@@ -538,7 +540,7 @@ _cb_wl_reg_global(void *data,
proto = wl_registry_bind(reg,
name,
&tizen_policy_interface,
- 1);
+ 7);
if (!proto) return;
tizen_policy_add_listener(proto,
@@ -741,6 +743,9 @@ static void _cb_wl_tz_policy_allowed_aux_hint(void *data, str
static void _cb_wl_tz_policy_aux_message(void *data, struct tizen_policy *tizen_policy, struct wl_surface *surface_resource, const char *key, const char *val, struct wl_array *options)
{
}
+static void _cb_wl_conformant_region(void *data, struct tizen_policy *tizen_policy, struct wl_surface *surface, uint32_t conformant_part, uint32_t state, int32_t x, int32_t y, int32_t w, int32_t h, uint32_t serial)
+{
+}
/* LCOV_EXCL_STOP */
static void