depends on profile, there are demands to on or off specific protocol service.
by adding config on this structure, server don't create global objects
so client cannot bind such interface.
Change-Id: Ifd2926f2647cdbfeef612a2993e6150e86e2d74d
E_CONFIG_VAL(D, T, configured_output_resolution.use, UCHAR);
E_CONFIG_VAL(D, T, configured_output_resolution.w, INT);
E_CONFIG_VAL(D, T, configured_output_resolution.h, INT);
+ E_CONFIG_VAL(D, T, global_object_not_provide.launch_effect, UCHAR);
}
static Eina_Bool
E_CONFIG_LIMIT(e_config->qp_handler.use_alpha, 0, 1);
E_CONFIG_LIMIT(e_config->qp_handler.alpha, 0, 255);
E_CONFIG_LIMIT(e_config->configured_output_resolution.use, 0, 1);
+ E_CONFIG_LIMIT(e_config->global_object_not_provide.launch_effect, 0, 1);
}
E_API int
int w; // width of the configured output resolution.
int h; // height of the configured output resolution.
} configured_output_resolution;
+
+ //specific global object( client not to bind )
+ struct
+ {
+ Eina_Bool launch_effect; // iface name : tizen_launch_effect
+ } global_object_not_provide;
};
struct _E_Config_Desklock_Background
struct wl_global *global = NULL;
EINA_SAFETY_ON_NULL_GOTO(polwl, err);
- global = wl_global_create(e_comp_wl->wl.disp,
- &tizen_launch_effect_interface,
- 1,
- NULL,
- _tzlaunch_effect_cb_bind);
- EINA_SAFETY_ON_NULL_GOTO(global, err);
+ if (!e_config->global_object_not_provide.launch_effect)
+ {
+ global = wl_global_create(e_comp_wl->wl.disp,
+ &tizen_launch_effect_interface,
+ 1,
+ NULL,
+ _tzlaunch_effect_cb_bind);
+ EINA_SAFETY_ON_NULL_GOTO(global, err);
- polwl->globals = eina_list_append(polwl->globals, global);
+ polwl->globals = eina_list_append(polwl->globals, global);
+ }
if (e_config->configured_output_resolution.use)
{