forked from enlightenment/efl
Fix return of ecore_wl_outputs_get() function
This should return the pointer to the list, to get the desired behavior. Fixes ticket #2252. Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com> SVN revision: 83644
This commit is contained in:
parent
a2197ce503
commit
251544ad7e
|
@ -489,7 +489,7 @@ EAPI void ecore_wl_input_pointer_set(Ecore_Wl_Input *input, struct wl_surface *s
|
|||
EAPI void ecore_wl_input_cursor_from_name_set(Ecore_Wl_Input *input, const char *cursor_name);
|
||||
EAPI void ecore_wl_input_cursor_default_restore(Ecore_Wl_Input *input);
|
||||
|
||||
EAPI struct wl_list ecore_wl_outputs_get(void);
|
||||
EAPI struct wl_list *ecore_wl_outputs_get(void);
|
||||
|
||||
/**
|
||||
* Retrieves the Wayland Globals Interface list used for the current Wayland connection.
|
||||
|
|
|
@ -16,10 +16,10 @@ static const struct wl_output_listener _ecore_wl_output_listener =
|
|||
};
|
||||
|
||||
/* @since 1.2 */
|
||||
EAPI struct wl_list
|
||||
EAPI struct wl_list *
|
||||
ecore_wl_outputs_get(void)
|
||||
{
|
||||
return _ecore_wl_disp->outputs;
|
||||
return &(_ecore_wl_disp->outputs);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in New Issue