forked from enlightenment/enlightenment
e-comp-wl: Enable sending of the surface_create signal from the
compositor and provide an API function to retrieve that signal (used in a pending commit) Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
b072a54499
commit
2b9b18e5fa
|
@ -99,9 +99,15 @@ struct _E_Comp_Wl_Data
|
||||||
struct wl_event_loop *loop;
|
struct wl_event_loop *loop;
|
||||||
} wl;
|
} wl;
|
||||||
|
|
||||||
|
struct
|
||||||
|
{
|
||||||
|
struct
|
||||||
|
{
|
||||||
|
struct wl_signal create;
|
||||||
|
struct wl_signal activate;
|
||||||
|
struct wl_signal kill;
|
||||||
|
} surface;
|
||||||
/* NB: At the moment, we don't need these */
|
/* NB: At the moment, we don't need these */
|
||||||
/* struct */
|
|
||||||
/* { */
|
|
||||||
/* struct wl_signal destroy; */
|
/* struct wl_signal destroy; */
|
||||||
/* struct wl_signal activate; */
|
/* struct wl_signal activate; */
|
||||||
/* struct wl_signal transform; */
|
/* struct wl_signal transform; */
|
||||||
|
@ -115,7 +121,7 @@ struct _E_Comp_Wl_Data
|
||||||
/* struct wl_signal destroyed; */
|
/* struct wl_signal destroyed; */
|
||||||
/* struct wl_signal moved; */
|
/* struct wl_signal moved; */
|
||||||
/* } seat, output; */
|
/* } seat, output; */
|
||||||
/* } signals; */
|
} signals;
|
||||||
|
|
||||||
struct
|
struct
|
||||||
{
|
{
|
||||||
|
@ -267,6 +273,8 @@ EINTERN struct wl_resource *e_comp_wl_surface_create(struct wl_client *client, i
|
||||||
EINTERN void e_comp_wl_surface_destroy(struct wl_resource *resource);
|
EINTERN void e_comp_wl_surface_destroy(struct wl_resource *resource);
|
||||||
EINTERN void e_comp_wl_buffer_reference(E_Comp_Wl_Buffer_Ref *ref, E_Comp_Wl_Buffer *buffer);
|
EINTERN void e_comp_wl_buffer_reference(E_Comp_Wl_Buffer_Ref *ref, E_Comp_Wl_Buffer *buffer);
|
||||||
|
|
||||||
|
EAPI struct wl_signal e_comp_wl_surface_signal_get(E_Comp *comp);
|
||||||
|
|
||||||
static inline uint64_t
|
static inline uint64_t
|
||||||
e_comp_wl_id_get(uint32_t client, uint32_t surface)
|
e_comp_wl_id_get(uint32_t client, uint32_t surface)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue