Ecore_Wayland.h File Reference

Ecore functions for dealing with the Wayland window system. More...

Functions

EAPI int ecore_wl_init (const char *name)
 Initialize the Wayland display connection to the given display. More...
 
EAPI int ecore_wl_shutdown (void)
 Shuts down the Ecore Wayland Library. More...
 
EAPI void ecore_wl_flush (void)
 Sends all Wayland commands to the Wayland Display. More...
 
EAPI void ecore_wl_sync (void)
 Flushes the command buffer and waits until all requests have been processed by the server. More...
 
EAPI struct wl_shm * ecore_wl_shm_get (void)
 Retrieves the Wayland Shm Interface used for the current Wayland connection. More...
 
EAPI struct wl_display * ecore_wl_display_get (void)
 Retrieves the Wayland Display Interface used for the current Wayland connection. More...
 
EAPI void ecore_wl_screen_size_get (int *w, int *h)
 Retrieves the size of the current screen. More...
 
EAPI int ecore_wl_dpi_get (void)
 Return the screen DPI. More...
 
EAPI Ecore_Wl_Window * ecore_wl_window_new (Ecore_Wl_Window *parent, int x, int y, int w, int h, int buffer_type)
 Creates a new window. More...
 
EAPI void ecore_wl_window_free (Ecore_Wl_Window *win)
 Deletes the given window. More...
 
EAPI void ecore_wl_window_move (Ecore_Wl_Window *win, int x, int y)
 Signals for Wayland to initiate a window move. More...
 
EAPI void ecore_wl_window_resize (Ecore_Wl_Window *win, int w, int h, int location)
 Signals for Wayland to initiate a window resize. More...
 
EAPI void ecore_wl_window_show (Ecore_Wl_Window *win)
 Shows a window. More...
 
EAPI void ecore_wl_window_hide (Ecore_Wl_Window *win)
 Hides a window. More...
 
EAPI void ecore_wl_window_raise (Ecore_Wl_Window *win)
 Raises a window. More...
 

Detailed Description

Ecore functions for dealing with the Wayland window system.

Ecore_Wl provides a wrapper and convenience functions for using the Wayland window system. Function groups for this part of the library include the following:

Function Documentation

EAPI int ecore_wl_dpi_get ( void  )

Return the screen DPI.

This is a simplistic call to get DPI. It does not account for differing DPI in the x amd y axes nor does it accoutn for multihead or xinerama and xrander where different parts of the screen may have differen DPI etc.

Returns
the general screen DPI (dots/pixels per inch).
Since
1.2

References ecore_wl_dpi_get().

Referenced by ecore_wl_dpi_get().