Functions
X Window Shape Functions

These functions use the shape extension of the X server to change shape of given windows. More...

Functions

EAPI void ecore_x_window_shape_mask_set (Ecore_X_Window win, Ecore_X_Pixmap mask)
 Sets the shape of the given window to that given by the pixmap mask. More...
 
EAPI void ecore_x_window_shape_input_mask_set (Ecore_X_Window win, Ecore_X_Pixmap mask)
 Sets the input shape of the given window to that given by the pixmap mask. More...
 

Detailed Description

These functions use the shape extension of the X server to change shape of given windows.

Function Documentation

◆ ecore_x_window_shape_mask_set()

EAPI void ecore_x_window_shape_mask_set ( Ecore_X_Window  win,
Ecore_X_Pixmap  mask 
)

Sets the shape of the given window to that given by the pixmap mask.

Parameters
winThe given window.
maskA 2-bit depth pixmap that provides the new shape of the window.

References ecore_x_sync().

◆ ecore_x_window_shape_input_mask_set()

EAPI void ecore_x_window_shape_input_mask_set ( Ecore_X_Window  win,
Ecore_X_Pixmap  mask 
)

Sets the input shape of the given window to that given by the pixmap mask.

Parameters
winThe given window.
maskA 1-bit depth pixmap that provides the new input shape of the window.

References ecore_x_sync().