e_policy_wl: update tizen_policy_interface version to 9 98/261498/1
authorDoyoun Kang <doyoun.kang@samsung.com>
Tue, 20 Jul 2021 06:57:12 +0000 (15:57 +0900)
committerDoyoun Kang <doyoun.kang@samsung.com>
Tue, 20 Jul 2021 06:57:39 +0000 (15:57 +0900)
According to update version of the tizen_policy interface,
enlightenment updates the tizen_policy_interface version to 9 from 8.

And add empty functions for new requests of tizen_policy
- tizen_policy_set_transient_for_below
- tizen_policy_set_parent_with_below

Change-Id: Ica6940a959a3284aa24ef3f1261c1333ec5332ff

src/bin/e_policy_wl.c

index f568cfc40dd45a86f4edc8ee0209ef52441afd6f..244df6ca7f5ca0450baf4b72fe158cad57419951 100644 (file)
@@ -3251,6 +3251,18 @@ _tzpol_iface_cb_hide(struct wl_client *client EINA_UNUSED, struct wl_resource *r
    ELOGF("TZPOL", "HIDE REQUEST", ec);
 }
 
+static void
+_tzpol_iface_cb_set_transient_for_below(struct wl_client *client EINA_UNUSED, struct wl_resource *res_tzpol, uint32_t child_id, uint32_t parent_id)
+{
+   // TODO: need to implement
+}
+
+static void
+_tzpol_iface_cb_set_parent_with_below(struct wl_client *client, struct wl_resource *res_tzpol, struct wl_resource *child, struct wl_resource *parent)
+{
+   // TODO: need to implement
+}
+
 // --------------------------------------------------------
 // tizen_policy_interface
 // --------------------------------------------------------
@@ -3298,6 +3310,8 @@ static const struct tizen_policy_interface _tzpol_iface =
    _tzpol_iface_cb_set_appid,
    _tzpol_iface_cb_show,
    _tzpol_iface_cb_hide,
+   _tzpol_iface_cb_set_transient_for_below,
+   _tzpol_iface_cb_set_parent_with_below,
 };
 
 static void
@@ -7707,7 +7721,7 @@ e_policy_wl_init(void)
    /* create globals */
    global = wl_global_create(e_comp_wl->wl.disp,
                              &tizen_policy_interface,
-                             8,
+                             9,
                              NULL,
                              _tzpol_cb_bind);
    EINA_SAFETY_ON_NULL_GOTO(global, err);