Functions
Wayland Library Init and Shutdown Functions

Functions that start and shutdown the Ecore Wayland Library. More...

Functions

EAPI int ecore_wl_init (const char *name)
 Initializes the Wayland display connection to the given display. More...
 
EAPI int ecore_wl_shutdown (void)
 Shuts down the Ecore Wayland Library. More...
 

Detailed Description

Functions that start and shutdown the Ecore Wayland Library.

Function Documentation

◆ ecore_wl_init()

EAPI int ecore_wl_init ( const char *  name)

Initializes the Wayland display connection to the given display.

Parameters
nameDisplay target name. if NULL, the default display is assumed.
Returns
The number of times the library has been initialized without being shut down. 0 is returned if an error occurs.

References ecore_event_init(), ecore_init(), eina_init(), eina_log_domain_register(), EINA_LOG_ERR, and ERR.

◆ ecore_wl_shutdown()

EAPI int ecore_wl_shutdown ( void  )

Shuts down the Ecore Wayland Library.

In shutting down the library, the Wayland display connection is terminated and any event handlers for it are removed.

Returns
The number of times the library has been initialized without being shut down.

References EINA_TRUE.