X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fpolicy-default.c;h=735f5c57319835bba16956f738b2420699d9bc5a;hb=9701fd67de31e7f6bd5aa36a98577ccc5ad42f44;hp=16c8b2db56493c3ccf999ae06c39ce045fb45edc;hpb=795eb91d057b491011594162b402543c525d6545;p=src%2Fagl-compositor.git diff --git a/src/policy-default.c b/src/policy-default.c index 16c8b2d..735f5c5 100644 --- a/src/policy-default.c +++ b/src/policy-default.c @@ -71,6 +71,13 @@ ivi_policy_default_surface_activate_default(struct ivi_surface *surf, void *user return true; } +static bool +ivi_policy_default_surface_advertise_state_change(struct ivi_surface *surf, void *user_data) +{ + /* verify that the surface should sent as notification */ + return true; +} + static bool ivi_policy_default_allow_to_add(void *user_data) { @@ -105,6 +112,7 @@ static const struct ivi_policy_api policy_api = { .surface_activate = ivi_policy_default_surface_activate, .surface_deactivate = ivi_policy_default_surface_deactivate, .surface_activate_by_default = ivi_policy_default_surface_activate_default, + .surface_advertise_state_change = ivi_policy_default_surface_advertise_state_change, .policy_rule_allow_to_add = ivi_policy_default_allow_to_add, .policy_rule_try_event = ivi_policy_default_try_event, };