Ecore_X_NetWM_Group (3) - Linux Manuals

Ecore_X_NetWM_Group: Functions related to the Extended Window Manager Hint (EWMH).

NAME

Extended Window Manager Hint (EWMH) functions - Functions related to the Extended Window Manager Hint (EWMH).

Functions


EAPI void ecore_x_netwm_wm_identify (Ecore_X_Window root, Ecore_X_Window check, const char *wm_name)
Set the _NET_SUPPORTING_WM_CHECK property.
EAPI void ecore_x_netwm_supported_set (Ecore_X_Window root, Ecore_X_Atom *supported, int num)
Set the _NET_SUPPORTED property.
EAPI void ecore_x_netwm_supported_get_prefetch (Ecore_X_Window root)
Sends the GetProperty request.
EAPI void ecore_x_netwm_supported_get_fetch (void)
Gets the reply of the GetProperty request sent by ecore_x_netwm_supported_get_prefetch().
EAPI int ecore_x_netwm_supported_get (Ecore_X_Window root, Ecore_X_Atom **supported, int *num)
Get the hints supported by the Window Manager.
EAPI void ecore_x_netwm_desk_count_set (Ecore_X_Window root, unsigned int n_desks)
Set the _NET_NUMBER_OF_DESKTOPS property.
EAPI void ecore_x_netwm_desk_roots_set (Ecore_X_Window root, Ecore_X_Window *vroots, unsigned int n_desks)
Set the _NET_VIRTUAL_ROOTS property.
EAPI void ecore_x_netwm_desk_names_set (Ecore_X_Window root, const char **names, unsigned int n_desks)
Set the _NET_DESKTOP_NAMES property.
EAPI void ecore_x_netwm_desk_size_set (Ecore_X_Window root, unsigned int width, unsigned int height)
Set the _NET_DESKTOP_GEOMETRY property.
EAPI void ecore_x_netwm_desk_viewports_set (Ecore_X_Window root, unsigned int *origins, unsigned int n_desks)
Set the _NET_DESKTOP_VIEWPORT property.
EAPI void ecore_x_netwm_desk_layout_set (Ecore_X_Window root, int orientation, int columns, int rows, int starting_corner)
Set the _NET_DESKTOP_LAYOUT property.
EAPI void ecore_x_netwm_desk_workareas_set (Ecore_X_Window root, unsigned int *areas, unsigned int n_desks)
Set the _NET_WORKAREA property.
EAPI void ecore_x_netwm_desk_current_set (Ecore_X_Window root, unsigned int desk)
Set the _NET_CURRENT_DESKTOP property.
EAPI void ecore_x_netwm_showing_desktop_set (Ecore_X_Window root, int on)
Set the _NET_SHOWING_DESKTOP property.
EAPI void ecore_x_netwm_client_list_set (Ecore_X_Window root, Ecore_X_Window *p_clients, unsigned int n_clients)
Set the _NET_CLIENT_LIST property.
EAPI void ecore_x_netwm_client_list_stacking_set (Ecore_X_Window root, Ecore_X_Window *p_clients, unsigned int n_clients)
Set the _NET_CLIENT_LIST_STACKING property.
EAPI void ecore_x_netwm_client_active_set (Ecore_X_Window root, Ecore_X_Window window)
Set the _NET_ACTIVE_WINDOW property.
EAPI void ecore_x_netwm_name_set (Ecore_X_Window window, const char *name)
Set the _NET_WM_NAME property.
EAPI void ecore_x_netwm_name_get_prefetch (Ecore_X_Window window)
Sends the GetProperty request.
EAPI void ecore_x_netwm_name_get_fetch (void)
Gets the reply of the GetProperty request sent by ecore_x_netwm_name_get_prefetch().
EAPI int ecore_x_netwm_name_get (Ecore_X_Window window, char **name)
Get the title of a window.
EAPI void ecore_x_netwm_startup_id_set (Ecore_X_Window window, const char *id)
Set the _NET_STARTUP_ID property.
EAPI void ecore_x_netwm_startup_id_get_prefetch (Ecore_X_Window window)
Sends the GetProperty request.
EAPI void ecore_x_netwm_startup_id_get_fetch (void)
Gets the reply of the GetProperty request sent by ecore_x_netwm_startup_id_get_prefetch().
EAPI int ecore_x_netwm_startup_id_get (Ecore_X_Window window, char **id)
Get the startup ID name of a window.
EAPI void ecore_x_netwm_visible_name_set (Ecore_X_Window window, const char *name)
Set the _NET_WM_VISIBLE_NAME property.
EAPI void ecore_x_netwm_visible_name_get_prefetch (Ecore_X_Window window)
Sends the GetProperty request.
EAPI void ecore_x_netwm_visible_name_get_fetch (void)
Gets the reply of the GetProperty request sent by ecore_x_netwm_visible_name_get_prefetch().
EAPI int ecore_x_netwm_visible_name_get (Ecore_X_Window window, char **name)
Get the visible title of a window.
EAPI void ecore_x_netwm_icon_name_set (Ecore_X_Window window, const char *name)
Set the _NET_WM_ICON_NAME property.
EAPI void ecore_x_netwm_icon_name_get_prefetch (Ecore_X_Window window)
Sends the GetProperty request.
EAPI void ecore_x_netwm_icon_name_get_fetch (void)
Gets the reply of the GetProperty request sent by ecore_x_netwm_icon_name_get_prefetch().
EAPI int ecore_x_netwm_icon_name_get (Ecore_X_Window window, char **name)
Get the icon name of a window.
EAPI void ecore_x_netwm_visible_icon_name_set (Ecore_X_Window window, const char *name)
Set the _NET_WM_VISIBLE_ICON_NAME property.
EAPI void ecore_x_netwm_visible_icon_name_get_prefetch (Ecore_X_Window window)
Sends the GetProperty request.
EAPI void ecore_x_netwm_visible_icon_name_get_fetch (void)
Gets the reply of the GetProperty request sent by ecore_x_netwm_visible_icon_name_get_prefetch().
EAPI int ecore_x_netwm_visible_icon_name_get (Ecore_X_Window window, char **name)
Get the visible icon name of a window.
EAPI void ecore_x_netwm_desktop_set (Ecore_X_Window window, unsigned int desk)
Set the _NET_WM_DESKTOP property.
EAPI void ecore_x_netwm_desktop_get_prefetch (Ecore_X_Window window)
Sends the GetProperty request.
EAPI void ecore_x_netwm_desktop_get_fetch (void)
Gets the reply of the GetProperty request sent by ecore_x_netwm_desktop_get_prefetch().
EAPI int ecore_x_netwm_desktop_get (Ecore_X_Window window, unsigned int *desk)
Get the visible icon name of a window.
EAPI void ecore_x_netwm_strut_set (Ecore_X_Window window, int left, int right, int top, int bottom)
Set the _NET_WM_STRUT property.
EAPI void ecore_x_netwm_strut_get_prefetch (Ecore_X_Window window)
Sends the GetProperty request.
EAPI void ecore_x_netwm_strut_get_fetch (void)
Gets the reply of the GetProperty request sent by ecore_x_strut_get_prefetch().
EAPI int ecore_x_netwm_strut_get (Ecore_X_Window window, int *left, int *right, int *top, int *bottom)
Get the space at the edje of the screen.
EAPI void ecore_x_netwm_strut_partial_set (Ecore_X_Window window, int left, int right, int top, int bottom, int left_start_y, int left_end_y, int right_start_y, int right_end_y, int top_start_x, int top_end_x, int bottom_start_x, int bottom_end_x)
Set the _NET_WM_STRUT_PARTIAL property.
EAPI void ecore_x_netwm_strut_partial_get_prefetch (Ecore_X_Window window)
Sends the GetProperty request.
EAPI void ecore_x_netwm_strut_partial_get_fetch (void)
Gets the reply of the GetProperty request sent by ecore_x_strut_partial_get_prefetch().
EAPI int ecore_x_netwm_strut_partial_get (Ecore_X_Window window, int *left, int *right, int *top, int *bottom, int *left_start_y, int *left_end_y, int *right_start_y, int *right_end_y, int *top_start_x, int *top_end_x, int *bottom_start_x, int *bottom_end_x)
Get the space at the edje of the screen of a window.
EAPI void ecore_x_netwm_icons_get_prefetch (Ecore_X_Window window)
Sends the GetProperty request.
EAPI void ecore_x_netwm_icons_get_fetch (void)
Gets the reply of the GetProperty request sent by ecore_x_icons_get_prefetch().
EAPI int ecore_x_netwm_icons_get (Ecore_X_Window window, Ecore_X_Icon **icon, int *num)
Retrieve hte possible icons of a window.
EAPI void ecore_x_netwm_icon_geometry_set (Ecore_X_Window window, int x, int y, int width, int height)
Set the _NET_WM_ICON_GEOMETRY property.
EAPI void ecore_x_netwm_icon_geometry_get_prefetch (Ecore_X_Window window)
Sends the GetProperty request.
EAPI void ecore_x_netwm_icon_geometry_get_fetch (void)
Gets the reply of the GetProperty request sent by ecore_x_icon_geometry_get_prefetch().
EAPI int ecore_x_netwm_icon_geometry_get (Ecore_X_Window window, int *x, int *y, int *width, int *height)
Get the geometry of an icon.
EAPI void ecore_x_netwm_pid_set (Ecore_X_Window window, int pid)
Set the _NET_WM_PID property.
EAPI void ecore_x_netwm_pid_get_prefetch (Ecore_X_Window window)
Sends the GetProperty request.
EAPI void ecore_x_netwm_pid_get_fetch (void)
Gets the reply of the GetProperty request sent by ecore_x_pid_get_prefetch().
EAPI int ecore_x_netwm_pid_get (Ecore_X_Window window, int *pid)
Get the process ID of a client window.
EAPI void ecore_x_netwm_handled_icons_set (Ecore_X_Window window)
Set the _NET_WM_HANDLED_ICONS property.
EAPI void ecore_x_netwm_handled_icons_get_prefetch (Ecore_X_Window window)
Sends the GetProperty request.
EAPI void ecore_x_netwm_handled_icons_get_fetch (void)
Gets the reply of the GetProperty request sent by ecore_x_handled_icons_get_prefetch().
EAPI int ecore_x_netwm_handled_icons_get (Ecore_X_Window window)
Return wheter the Client handles icons or not.
EAPI void ecore_x_netwm_user_time_set (Ecore_X_Window window, unsigned int time)
Set the _NET_WM_USER_TIME property.
EAPI void ecore_x_netwm_user_time_get_prefetch (Ecore_X_Window window)
Sends the GetProperty request.
EAPI void ecore_x_netwm_user_time_get_fetch (void)
Gets the reply of the GetProperty request sent by ecore_x_netwm_user_time_get_prefetch().
EAPI int ecore_x_netwm_user_time_get (Ecore_X_Window window, unsigned int *time)
Get the last user activity time in the window.
EAPI void ecore_x_netwm_window_state_set (Ecore_X_Window window, Ecore_X_Window_State *state, unsigned int num)
Set the _NET_WM_STATE property.
EAPI void ecore_x_netwm_window_state_get_prefetch (Ecore_X_Window window)
Sends the GetProperty request.
EAPI void ecore_x_netwm_window_state_get_fetch (void)
Gets the reply of the GetProperty request sent by ecore_x_window_state_get_prefetch().
EAPI int ecore_x_netwm_window_state_get (Ecore_X_Window window, Ecore_X_Window_State **state, unsigned int *num)
Get the hints describing the window state.
EAPI void ecore_x_netwm_window_type_set (Ecore_X_Window window, Ecore_X_Window_Type type)
Set the _NET_WM_WINDOW_TYPE property.
EAPI void ecore_x_netwm_window_type_get_prefetch (Ecore_X_Window window)
Sends the GetProperty request.
EAPI void ecore_x_netwm_window_type_get_fetch (void)
Gets the reply of the GetProperty request sent by ecore_x_window_type_get_prefetch().
EAPI int ecore_x_netwm_window_type_get (Ecore_X_Window window, Ecore_X_Window_Type *type)
Get the functional type of a window.
EAPI void ecore_x_netwm_allowed_action_get_prefetch (Ecore_X_Window window)
Sends the GetProperty request.
EAPI void ecore_x_netwm_allowed_action_get_fetch (void)
Gets the reply of the GetProperty request sent by ecore_x_allowed_action_get_prefetch().
EAPI int ecore_x_netwm_allowed_action_isset (Ecore_X_Window window, Ecore_X_Action action)
Check whether an action is supported by a window.
EAPI void ecore_x_netwm_allowed_action_set (Ecore_X_Window window, Ecore_X_Action *action, unsigned int num)
Set the _NET_WM_ALLOWED_ACTIONS property.
EAPI int ecore_x_netwm_allowed_action_get (Ecore_X_Window window, Ecore_X_Action **action, unsigned int *num)
Get the allowed actions supported by a window.
EAPI void ecore_x_netwm_opacity_set (Ecore_X_Window window, unsigned int opacity)
Set the _NET_WM_WINDOW_OPACITY property.
EAPI void ecore_x_netwm_opacity_get_prefetch (Ecore_X_Window window)
Sends the GetProperty request.
EAPI void ecore_x_netwm_opacity_get_fetch (void)
Gets the reply of the GetProperty request sent by ecore_x_netwm_opacity_get_prefetch().
EAPI int ecore_x_netwm_opacity_get (Ecore_X_Window window, unsigned int *opacity)
Get the opacity value of a window.
EAPI void ecore_x_netwm_frame_size_set (Ecore_X_Window window, int fl, int fr, int ft, int fb)
Set the _NET_FRAME_EXTENTS property.
EAPI void ecore_x_netwm_frame_size_get_prefetch (Ecore_X_Window window)
Sends the GetProperty request.
EAPI void ecore_x_netwm_frame_size_get_fetch (void)
Gets the reply of the GetProperty request sent by ecore_x_netwm_frame_size_get_prefetch().
EAPI int ecore_x_netwm_frame_size_get (Ecore_X_Window window, int *fl, int *fr, int *ft, int *fb)
Get the frame extent of a window.
EAPI void ecore_x_netwm_sync_counter_get_prefetch (Ecore_X_Window window)
Sends the GetProperty request.
EAPI void ecore_x_netwm_sync_counter_get_fetch (void)
Gets the reply of the GetProperty request sent by ecore_x_netwm_sync_counter_get_prefetch().
EAPI int ecore_x_netwm_sync_counter_get (Ecore_X_Window window, Ecore_X_Sync_Counter *counter)
Get the X ID of a X Sync counter.
EAPI void ecore_x_netwm_ping_send (Ecore_X_Window window)
Send a _NET_WM_PING property event.
EAPI void ecore_x_netwm_sync_request_send (Ecore_X_Window window, unsigned int serial)
Send a _NET_WM_SYNC_REQUEST property event.
EAPI void ecore_x_netwm_state_request_send (Ecore_X_Window window, Ecore_X_Window root, Ecore_X_Window_State s1, Ecore_X_Window_State s2, int set)
Send a _NET_WM_STATE property event.
EAPI void ecore_x_netwm_desktop_request_send (Ecore_X_Window window, Ecore_X_Window root, unsigned int desktop)
Send a _NET_WM_DESKTOP property event.
EAPI int ecore_x_screen_is_composited (int screen)
Check whether a screen is composited or not.

Detailed Description

Functions related to the Extended Window Manager Hint (EWMH).

Function Documentation

EAPI int ecore_x_netwm_allowed_action_get (Ecore_X_Window window, Ecore_X_Action ** action, unsigned int * num)

Get the allowed actions supported by a window.

Parameters:

window The window.
action The returned array of the actions.
num The number of actions.

Returns:

1 on success, 0 otherwise.

Retrieve the user operations that the Window Manager supports for window and store them in action. The number of actions is stored in num. This function returns 1 on success, 0 otherwise.

To use this function, you must call before, and in order, ecore_x_netwm_allowed_action_get_prefetch(), which sends the GetProperty request, then ecore_x_netwm_allowed_action_get_fetch(), which gets the reply.

EAPI void ecore_x_netwm_allowed_action_get_prefetch (Ecore_X_Window window)

Sends the GetProperty request.

Parameters:

window The window.

EAPI int ecore_x_netwm_allowed_action_isset (Ecore_X_Window window, Ecore_X_Action action)

Check whether an action is supported by a window.

Parameters:

window The window
action The action

Returns:

1 if set, 0 otherwise.

Return whether the user operation action is supported by the Window Manager for window.

To use this function, you must call before, and in order, ecore_x_netwm_allowed_action_get_prefetch(), which sends the GetProperty request, then ecore_x_netwm_allowed_action_get_fetch(), which gets the reply.

EAPI void ecore_x_netwm_allowed_action_set (Ecore_X_Window window, Ecore_X_Action * action, unsigned int num)

Set the _NET_WM_ALLOWED_ACTIONS property.

Parameters:

window The window.
action An array of allowed actions.
num The number of actions.

Set the user operations that the Window Manager supports for window by sending the _NET_WM_ALLOWED_ACTIONS property to window. action stores num actions.

To use this function, you must call before, and in order, ecore_x_netwm_allowed_action_get_prefetch(), which sends the GetProperty request, then ecore_x_netwm_allowed_action_get_fetch(), which gets the reply.

EAPI void ecore_x_netwm_client_active_set (Ecore_X_Window root, Ecore_X_Window window)

Set the _NET_ACTIVE_WINDOW property.

Parameters:

root The root window.
window The widow to activate.

Activate window by sending the _NET_ACTIVE_WINDOW property to the root window.

If a Client wants to activate another window, it MUST call this function.

EAPI void ecore_x_netwm_client_list_set (Ecore_X_Window root, Ecore_X_Window * p_clients, unsigned int n_clients)

Set the _NET_CLIENT_LIST property.

Parameters:

root The root window.
p_clients An array of windows.
n_clients The number of windows.

Map all the X windows managed by the window manager from the oldest to the newest by sending the _NET_CLIENT_LIST property to the root window. The X windows are stored in p_clients and their number in n_clients.

This function SHOULD be called by the Window Manager.

EAPI void ecore_x_netwm_client_list_stacking_set (Ecore_X_Window root, Ecore_X_Window * p_clients, unsigned int n_clients)

Set the _NET_CLIENT_LIST_STACKING property.

Parameters:

root The root window.
p_clients An array of windows.
n_clients The number of windows.

Stack all the X windows managed by the window manager from bottom to top order by sending the _NET_CLIENT_LIST_STACKING property to the root window. The X windows are stored in p_clients and their number in n_clients.

This function SHOULD be called by the Window Manager.

EAPI void ecore_x_netwm_desk_count_set (Ecore_X_Window root, unsigned int n_desks)

Set the _NET_NUMBER_OF_DESKTOPS property.

Parameters:

root The root window.
n_desks The number of desktops.

Set the number of desktops n_desks of the Window Manager by sending the _NET_NUMBER_OF_DESKTOPS to the root window.

The Window Manager SHOULD set and update this property to indicate the number of virtual desktops. A Pager can request a change in the number of desktops by using that function.

EAPI void ecore_x_netwm_desk_current_set (Ecore_X_Window root, unsigned int desk)

Set the _NET_CURRENT_DESKTOP property.

Parameters:

root The root window.
desk The index of the current desktop.

Set the current desktop by sending the _NET_CURRENT_DESKTOP to the root window. deskmust be an integer number between 0 and the number of desks (set by ecore_x_netwm_desk_count_set()) -1.

This function MUST be called by the Window Manager. If a Pagerwants to switch to naother desktop, it MUST call that function.

EAPI void ecore_x_netwm_desk_layout_set (Ecore_X_Window root, int orientation, int columns, int rows, int starting_corner)

Set the _NET_DESKTOP_LAYOUT property.

Parameters:

root The root window.
orientation
columns
rows
starting_corner Set the layout of virtual desktops relative to each other by sending the _NET_DESKTOP_LAYOUT to the root window. orientation defines the orientation of the virtual desktop. 0 means horizontal layout, 1 means vertical layout. columns is the number of desktops in the X direction and rows is the number in the Y direction. starting_corner is the corner containing the first desktop. The values for starting_corner are 0 (top-left), 1 (top-right), 2 (bottom-right) and 3 (bottom-left).

When the orientation is horizontal the desktops are laid out in rows, with the first desktop in the specified starting corner. So a layout with four columns and three rows starting in the top-left corner looks like this:

+--+--+--+--+ | 0| 1| 2| 3| +--+--+--+--+ | 4| 5| 6| 7| +--+--+--+--+ | 8| 9|10|11| +--+--+--+--+

With starting_corner being bottom-right, it looks like this:

+--+--+--+--+ |11|10| 9| 8| +--+--+--+--+ | 7| 6| 5| 4| +--+--+--+--+ | 3| 2| 1| 0| +--+--+--+--+

When the orientation is vertical the layout with four columns and three rows starting in the top-left corner looks like:

+--+--+--+--+ | 0| 3| 6| 9| +--+--+--+--+ | 1| 4| 7|10| +--+--+--+--+ | 2| 5| 8|11| +--+--+--+--+

With starting_corner being top-right, it looks like:

+--+--+--+--+ | 9| 6| 3| 0| +--+--+--+--+ |10| 7| 4| 1| +--+--+--+--+ |11| 8| 5| 2| +--+--+--+--+

This function MUST be used by a Pager and NOT by the Window Manager. When using this function, the Pager must own a manager selection.

EAPI void ecore_x_netwm_desk_names_set (Ecore_X_Window root, const char ** names, unsigned int n_desks)

Set the _NET_DESKTOP_NAMES property.

Parameters:

root The root window.
names The names of the virtual desktops.
n_desks The number of virtual desktops.

Set the name of each virtual desktop by sending the _NET_DESKTOP_NAMES to the root window. names are the names of the virtual desktops and n_desks is the number of virtual desktops.

A Pager MAY use that function. n_desks may be different from the one passed to ecore_x_netwm_desk_count_set(). If it less or equal, then the desktops with high numbers are unnamed. If it is larger, then the excess names are considered to be reserved in case the number of desktops is increased.

EAPI void ecore_x_netwm_desk_roots_set (Ecore_X_Window root, Ecore_X_Window * vroots, unsigned int n_desks)

Set the _NET_VIRTUAL_ROOTS property.

Parameters:

root The root window.
vroots The virtual root windows.
n_desks The number of desks.

Set the number of virtual desktops by sending the _NET_VIRTUAL_ROOTS property to the root window. vroots is an array of window and n_desks is the number of windows.

A Window Manager that implements virtual desktops by reparent client windows to a child of the root window MUST use that function.

EAPI void ecore_x_netwm_desk_size_set (Ecore_X_Window root, unsigned int width, unsigned int height)

Set the _NET_DESKTOP_GEOMETRY property.

Parameters:

root The root window.
width The width of the desktop.
height The height of the desktop.

Set the common width and height of all desktops by sending the _NET_DESKTOP_GEOMETRY to the root window.

This size is equal to the screen size if the Window Manager doesn't support large desktops, otherwise it's equal to the virtual size of the desktop. The Window Manager SHOULD set this property. A Pager can request a change in the desktop geometry by using this function.

EAPI void ecore_x_netwm_desk_viewports_set (Ecore_X_Window root, unsigned int * origins, unsigned int n_desks)

Set the _NET_DESKTOP_VIEWPORT property.

Parameters:

root The root window.
origins An array of paris of coordiantes.
n_desks The number of virtual desktops.

Set the top left corner of each desktop's viewport by sending the _NET_DESKTOP_VIEWPORT property to the root window. origins contains each pair of X coordinate and Y coordinate of the top left corner of each desktop's viewport.

If the Window Manager does not support large desktops, the coordinates MUST be (0,0). A Pager can request to change the viewport for the current desktop by using this function.

EAPI void ecore_x_netwm_desk_workareas_set (Ecore_X_Window root, unsigned int * areas, unsigned int n_desks)

Set the _NET_WORKAREA property.

Parameters:

root The root window.
areas An array of areas.
n_desks The number of desks.

Set the work area for each desktop by sending the _NET_WORKAREA property to the root window. An area contains the geometry (X and Y coordinates, width and height). These geometries are specified relative to the viewport on each desktop and specify an area that is completely contained within the viewport. areas stores these geometries. n_desks is the number of geometry to set.

This function MUST be set by the Window Manager. It is used by desktop applications to place desktop icons appropriately.

EAPI int ecore_x_netwm_desktop_get (Ecore_X_Window window, unsigned int * desk)

Get the visible icon name of a window.

Parameters:

window The window.
desk The desktop index.

Returns:

1 on success, 0 otherwise.

Retrieve the desktop index in which window is displayed and store it in desk. If desk value is 0xFFFFFFFF, the window appears on all desktops. The function returns 1 on success, 0 otherwise.

To use this function, you must call before, and in order, ecore_x_netwm_desktop_get_prefetch(), which sends the GetProperty request, then ecore_x_netwm_desktop_get_fetch(), which gets the reply.

EAPI void ecore_x_netwm_desktop_get_prefetch (Ecore_X_Window window)

Sends the GetProperty request.

Parameters:

window The window.

EAPI void ecore_x_netwm_desktop_request_send (Ecore_X_Window window, Ecore_X_Window root, unsigned int desktop)

Send a _NET_WM_DESKTOP property event.

Parameters:

window The window.
root The root window.
desktop The new desktop index.

Send a ClientMessage event from window to the root window with the _NET_WM_DESKTOP property set. This change the state of a non-withdrawn window. desktop is the new desktop index to set.

EAPI void ecore_x_netwm_desktop_set (Ecore_X_Window window, unsigned int desk)

Set the _NET_WM_DESKTOP property.

Parameters:

window The window.
desk The desktop index.

Set on which desktop the window is in by sending the _NET_WM_DESKTOP property to window. desk is the index of the desktop, starting from 0. To indicate that the window should appear on all desktops, desk must be equal to 0xFFFFFFFF.

A Client MAY choose not to set this property, in which case the Window Manager SHOULD place it as it wishes.

The Window Manager should honor _NET_WM_DESKTOP whenever a withdrawn window requests to be mapped.

A Client can request a change of desktop for a non-withdrawn window by sending a _NET_WM_DESKTOP client message to the root window.

EAPI int ecore_x_netwm_frame_size_get (Ecore_X_Window window, int * fl, int * fr, int * ft, int * fb)

Get the frame extent of a window.

Parameters:

window The window.
fl The number of pixels of the left border of the window.
fr The number of pixels of the right border of the window.
ft The number of pixels of the top border of the window.
fb The number of pixels of the bottom border of the window.

Returns:

1 on success, 0 otherwise.

Retrieve the frame extents of window. The number of pixels of the left, right, top and bottom border of window are respectively stored in fl, fr, ft anfd fb. TYhis function retuirns 1 on success, 0 otherwise.

To use this function, you must call before, and in order, ecore_x_netwm_frame_size_get_prefetch(), which sends the GetProperty request, then ecore_x_netwm_frame_size_get_fetch(), which gets the reply.

EAPI void ecore_x_netwm_frame_size_get_prefetch (Ecore_X_Window window)

Sends the GetProperty request.

Parameters:

window The window.

EAPI void ecore_x_netwm_frame_size_set (Ecore_X_Window window, int fl, int fr, int ft, int fb)

Set the _NET_FRAME_EXTENTS property.

Parameters:

window The window.
fl The number of pixels of the left border of the window.
fr The number of pixels of the right border of the window.
ft The number of pixels of the top border of the window.
fb The number of pixels of the bottom border of the window.

Set the border witdh of window by sending the _NET_FRAME_EXTENTS property to window. fl, fr, ft and fb are respectively the number of pixels of the left, right, top and bottom border of window.

The Window Manager MUST set _NET_FRAME_EXTENTS to the extents of the window's frame.

EAPI int ecore_x_netwm_handled_icons_get (Ecore_X_Window window)

Return wheter the Client handles icons or not.

Parameters:

window The window.

Returns:

1 if icons are handled, 0 otherwise.

Return whether the client handles icons or not if window is iconified.

To use this function, you must call before, and in order, ecore_x_netwm_handled_icons_get_prefetch(), which sends the GetProperty request, then ecore_x_netwm_handled_icons_get_fetch(), which gets the reply.

EAPI void ecore_x_netwm_handled_icons_get_prefetch (Ecore_X_Window window)

Sends the GetProperty request.

Parameters:

window The window.

EAPI void ecore_x_netwm_handled_icons_set (Ecore_X_Window window)

Set the _NET_WM_HANDLED_ICONS property.

Parameters:

window The window.

Indicate to the Window Manager that it does not need to provide icons for the iconified window by sending the _NET_WM_HANDLED_ICONS property to window.

This function can be used by a Pager on one of its own toplevel windows (for example if the Client is a taskbar and provides buttons for iconified windows).

EAPI int ecore_x_netwm_icon_geometry_get (Ecore_X_Window window, int * x, int * y, int * width, int * height)

Get the geometry of an icon.

Parameters:

window The window
x x
x The X coordinate of the icon.
y The Y coordinate of the icon.
width The width of the icon.
height The height of the icon.

Returns:

1 on success, 0 othrwise.

Retrieve the geometry of the icon of window. The geometry is stored in x, y, width and height. The function returns 1 on success, 0 otherwise.

To use this function, you must call before, and in order, ecore_x_netwm_icon_geometry_get_prefetch(), which sends the GetProperty request, then ecore_x_netwm_icon_geometry_get_fetch(), which gets the reply.

EAPI void ecore_x_netwm_icon_geometry_get_prefetch (Ecore_X_Window window)

Sends the GetProperty request.

Parameters:

window The window.

EAPI void ecore_x_netwm_icon_geometry_set (Ecore_X_Window window, int x, int y, int width, int height)

Set the _NET_WM_ICON_GEOMETRY property.

Parameters:

window The window.
x The X coordinate of the icon.
y The Y coordinate of the icon.
width The width of the icon.
height The height of the icon.

Set the geometry of the icon of window by sending the _NET_WM_ICON_GEOMETRY property to window. x, y, width and height specify respectively the X coordinate, the Y coordinate, the width and the height of the icon.

Stand alone tools like a taskbar or an iconbox MAY use this function. This functions makes possible for a Window Manager to display a nice animation like morphing the window into its icon.

EAPI int ecore_x_netwm_icon_name_get (Ecore_X_Window window, char ** name)

Get the icon name of a window.

Parameters:

window The window.
name The icon name.

Returns:

Returns always 1.

Retrieve the icon name of window and store it in name. The function returns always 1.

To use this function, you must call before, and in order, ecore_x_netwm_icon_name_get_prefetch(), which sends the GetProperty request, then ecore_x_netwm_icon_name_get_fetch(), which gets the reply.

EAPI void ecore_x_netwm_icon_name_get_prefetch (Ecore_X_Window window)

Sends the GetProperty request.

Parameters:

window The window.

EAPI void ecore_x_netwm_icon_name_set (Ecore_X_Window window, const char * name)

Set the _NET_WM_ICON_NAME property.

Parameters:

window The widow to activate.
name The icon name of the window.

Set the icon name of window to name by sending the _NET_WM_ICON_NAME property to window.

The Client SHOULD set the title of window in UTF-8 encoding. If set, the Window Manager should use this in preference to WM_ICON_NAME.

EAPI int ecore_x_netwm_icons_get (Ecore_X_Window window, Ecore_X_Icon ** icon, int * num)

Retrieve hte possible icons of a window.

Parameters:

window The window
icon An array of icons.
num The number of icons.

Returns:

1 on success, 0 otherwise.

Retrieve an array of possible icons of window. The icons are stored in icon and their number in num.

To use this function, you must call before, and in order, ecore_x_netwm_icons_get_prefetch(), which sends the GetProperty request, then ecore_x_netwm_icons_get_fetch(), which gets the reply.

EAPI void ecore_x_netwm_icons_get_prefetch (Ecore_X_Window window)

Sends the GetProperty request.

Parameters:

window The window.

EAPI int ecore_x_netwm_name_get (Ecore_X_Window window, char ** name)

Get the title of a window.

Parameters:

window The window.
name The title name.

Returns:

Returns always 1.

Retrieve the title name of window and store it in name. The function returns always 1.

To use this function, you must call before, and in order, ecore_x_netwm_name_get_prefetch(), which sends the GetProperty request, then ecore_x_netwm_name_get_fetch(), which gets the reply.

EAPI void ecore_x_netwm_name_get_prefetch (Ecore_X_Window window)

Sends the GetProperty request.

Parameters:

window The window.

EAPI void ecore_x_netwm_name_set (Ecore_X_Window window, const char * name)

Set the _NET_WM_NAME property.

Parameters:

window The widow to activate.
name The title name of the window.

Set the title name of window to name by sending the _NET_WM_NAME property to window.

The Client SHOULD set the title of window in UTF-8 encoding. If set, the Window Manager should use this in preference to WM_NAME.

EAPI int ecore_x_netwm_opacity_get (Ecore_X_Window window, unsigned int * opacity)

Get the opacity value of a window.

Parameters:

window The window.
opacity The returned opacity.

Returns:

1 on success, 0 otherwise.

Retriee the opacity value of window and store it in opacity. This function returns 1 on sucess, 0 otherwise.

To use this function, you must call before, and in order, ecore_x_netwm_opacity_get_prefetch(), which sends the GetProperty request, then ecore_x_netwm_opacity_get_fetch(), which gets the reply.

EAPI void ecore_x_netwm_opacity_get_prefetch (Ecore_X_Window window)

Sends the GetProperty request.

Parameters:

window The window.

EAPI void ecore_x_netwm_opacity_set (Ecore_X_Window window, unsigned int opacity)

Set the _NET_WM_WINDOW_OPACITY property.

Parameters:

window The window.
opacity The opacity value.

Set the desired opacity of window by sending the _NET_WM_WINDOW_OPACITY property to window. opacity is 0 for a transparent window and 0xffffffff for an opaque window. opacity must be multiplied with the original alpha value of window (which is 1 for visuals not including an alpha component) so that window content is modulated by the opacity value.

Window Managers acting as compositing managers MAY take this into account when displaying a window. Window Managers MUST forward the value of this property to any enclosing frame window. This property MAY change while the window is mapped and the Window Manager MUST respect changes while the window is mapped.

EAPI int ecore_x_netwm_pid_get (Ecore_X_Window window, int * pid)

Get the process ID of a client window.

Parameters:

window The window.
pid The process ID.

Returns:

1 on success, 0 otherwise.

Retrieve the process ID of window and store it in pid. This function returns 1 on success, 0 otherwise.

To use this function, you must call before, and in order, ecore_x_netwm_pid_get_prefetch(), which sends the GetProperty request, then ecore_x_netwm_pid_get_fetch(), which gets the reply.

EAPI void ecore_x_netwm_pid_get_prefetch (Ecore_X_Window window)

Sends the GetProperty request.

Parameters:

window The window.

EAPI void ecore_x_netwm_pid_set (Ecore_X_Window window, int pid)

Set the _NET_WM_PID property.

Parameters:

window The window.
pid The process ID.

Set the process ID of the client owning window by sending the _NET_WM_PID property to window.

This function MAY be used by the Window Manager to kill windows which do not respond to the _NET_WM_PING protocol.

If _NET_WM_PID is set, the ICCCM-specified property WM_CLIENT_MACHINE MUST also be set.

EAPI void ecore_x_netwm_ping_send (Ecore_X_Window window)

Send a _NET_WM_PING property event.

Parameters:

window The window.

Send a ClientMessage event from window with the _NET_WM_PING property set.

EAPI void ecore_x_netwm_showing_desktop_set (Ecore_X_Window root, int on)

Set the _NET_SHOWING_DESKTOP property.

Parameters:

root The root window
on 0 to hide the desktop, non 0 to show it.

Set or unset the desktop in a 'showing mode' by sending the _NET_SHOWING_DESKTOP property to the root window. If on is 0, the windows are hidden and the desktop background is displayed and focused.

If a Pager wants to enter or leave the mode, it MUST use this function.

EAPI int ecore_x_netwm_startup_id_get (Ecore_X_Window window, char ** id)

Get the startup ID name of a window.

Parameters:

window The window
id The ID name

Returns:

Return always 1.

To use this function, you must call before, and in order, ecore_x_netwm_startup_id_get_prefetch(), which sends the GetProperty request, then ecore_x_netwm_startup_id_get_fetch(), which gets the reply.

EAPI void ecore_x_netwm_startup_id_get_prefetch (Ecore_X_Window window)

Sends the GetProperty request.

Parameters:

window The window.

EAPI void ecore_x_netwm_startup_id_set (Ecore_X_Window window, const char * id)

Set the _NET_STARTUP_ID property.

Parameters:

window The window.
id The ID name.

Set the ID id used for the startup sequence by sending the property _NET_STARTUP_ID to window. The ID name should be encoded in UTF-8.

If a new value for the property is set, the Window Manager should update the window's status accordingly (update its virtual desktop, etc.).

EAPI void ecore_x_netwm_state_request_send (Ecore_X_Window window, Ecore_X_Window root, Ecore_X_Window_State s1, Ecore_X_Window_State s2, int set)

Send a _NET_WM_STATE property event.

Parameters:

window The window.
root The root window.
s1 The first state to alter.
s2 The second state to alter.
set 0 to unset the property, set it otherwise.

Send a ClientMessage event from window to the root window with the _NET_WM_STATE property set. This change the state of a mapped window. s1 is the first state to alter. s2 is the second state to alter. If set value is 0, the property is removed (or unset), otherwise, the property is set.

EAPI int ecore_x_netwm_strut_get (Ecore_X_Window window, int * left, int * right, int * top, int * bottom)

Get the space at the edje of the screen.

Parameters:

window The window
left The number of pixels at the left of the screen.
right The number of pixels at the right of the screen.
top The number of pixels at the top of the screen.
bottom The number of pixels at the bottom of the screen.

Returns:

1 on success, 0 otherwise.

Retrieve the space at the edje of the screen if window is to reserve such space. The number of pixels at the left, right, top and bottom of the screen are respectively stored in left, right, top and bottom. This function returns 1 on success, 0 otherwise.

This property is deprecated. See ecore_x_netwm_strut_set() for more informations.

To use this function, you must call before, and in order, ecore_x_netwm_strut_get_prefetch(), which sends the GetProperty request, then ecore_x_netwm_strut_get_fetch(), which gets the reply.

EAPI void ecore_x_netwm_strut_get_prefetch (Ecore_X_Window window)

Sends the GetProperty request.

Parameters:

window The window.

EAPI int ecore_x_netwm_strut_partial_get (Ecore_X_Window window, int * left, int * right, int * top, int * bottom, int * left_start_y, int * left_end_y, int * right_start_y, int * right_end_y, int * top_start_x, int * top_end_x, int * bottom_start_x, int * bottom_end_x)

Get the space at the edje of the screen of a window.

Parameters:

window The window
left The number of pixels at the left of the screen.
right The number of pixels at the right of the screen.
top The number of pixels at the top of the screen.
bottom The number of pixels at the bottom of the screen.
left_start_y The number of pixels.
left_end_y The number of pixels.
right_start_y The number of pixels.
right_end_y The number of pixels.
top_start_x The number of pixels.
top_end_x The number of pixels.
bottom_start_x The number of pixels.
bottom_end_x The number of pixels.

Retrieve the space at the edje of the screen if window is to reserve such space. The number of pixels at the left, right, top and bottom of the screen are respectively stored in left, right, top and bottom. This function returns 1 on success, 0 otherwise.

TODO: more description for that function.

To use this function, you must call before, and in order, ecore_x_netwm_strut_partial_get_prefetch(), which sends the GetProperty request, then ecore_x_netwm_strut_partial_get_fetch(), which gets the reply.

EAPI void ecore_x_netwm_strut_partial_get_prefetch (Ecore_X_Window window)

Sends the GetProperty request.

Parameters:

window The window.

EAPI void ecore_x_netwm_strut_partial_set (Ecore_X_Window window, int left, int right, int top, int bottom, int left_start_y, int left_end_y, int right_start_y, int right_end_y, int top_start_x, int top_end_x, int bottom_start_x, int bottom_end_x)

Set the _NET_WM_STRUT_PARTIAL property.

Parameters:

window The window
left The number of pixels at the left of the screen.
right The number of pixels at the right of the screen.
top The number of pixels at the top of the screen.
bottom The number of pixels at the bottom of the screen.
left_start_y The number of pixels.
left_end_y The number of pixels.
right_start_y The number of pixels.
right_end_y The number of pixels.
top_start_x The number of pixels.
top_end_x The number of pixels.
bottom_start_x The number of pixels.
bottom_end_x The number of pixels.

Set space at the edje of the screen by sending the _NET_WM_STRUT_PARTIAL property to window if window is to reserve that space. left, right, top and bottom are respectively the number of pixels at the left, right, top and bottom of the screen.

TODO: more description for that function.

EAPI void ecore_x_netwm_strut_set (Ecore_X_Window window, int left, int right, int top, int bottom)

Set the _NET_WM_STRUT property.

Parameters:

window The window
left The number of pixels at the left of the screen.
right The number of pixels at the right of the screen.
top The number of pixels at the top of the screen.
bottom The number of pixels at the bottom of the screen.

Set space at the edje of the screen by sending the _NET_WM_STRUT property to window if window is to reserve that space. left, right, top and bottom are respectively the number of pixels at the left, right, top and bottom of the screen.

This property is deprecated and ecore_x_netwm_strut_partial_set() should be used instead. However, Clients MAY set this property in addition to _NET_WM_STRUT_PARTIAL to ensure backward compatibility with Window Managers supporting older versions of the Specification.

EAPI int ecore_x_netwm_supported_get (Ecore_X_Window root, Ecore_X_Atom ** supported, int * num)

Get the hints supported by the Window Manager.

Parameters:

root The root window.
supported The supported hints.
num The number of atoms.

Returns:

1 on success, 0 otherwise.

Get the hints supported by the Window Manager. root is the root window. The hints are stored in supported. The number of hints is stored in num.

To use this function, you must call before, and in order, ecore_x_netwm_supported_get_prefetch(), which sends the GetProperty request, then ecore_x_netwm_supported_get_fetch(), which gets the reply.

EAPI void ecore_x_netwm_supported_get_prefetch (Ecore_X_Window root)

Sends the GetProperty request.

Parameters:

root The root window

EAPI void ecore_x_netwm_supported_set (Ecore_X_Window root, Ecore_X_Atom * supported, int num)

Set the _NET_SUPPORTED property.

Parameters:

root The root window.
supported The supported hints.
num The number of hints.

Set the _NET_SUPPORTED property on the root window. The hints that the Window Manager supports are stored in supported.

The Window Manager MUST set this property to indicate which hints it supports.

EAPI int ecore_x_netwm_sync_counter_get (Ecore_X_Window window, Ecore_X_Sync_Counter * counter)

Get the X ID of a X Sync counter.

Parameters:

window The window.
counter The X ID of the Sync counter.

Returns:

1 on success, 0 otherwise.

Retrieve the X ID of the X Sync counter of window and store it in counter. This function returns 1 on success, 0 otherwise.

To use this function, you must call before, and in order, ecore_x_netwm_frame_size_get_prefetch(), which sends the GetProperty request, then ecore_x_netwm_frame_size_get_fetch(), which gets the reply.

EAPI void ecore_x_netwm_sync_counter_get_prefetch (Ecore_X_Window window)

Sends the GetProperty request.

Parameters:

window The window.

EAPI void ecore_x_netwm_sync_request_send (Ecore_X_Window window, unsigned int serial)

Send a _NET_WM_SYNC_REQUEST property event.

Parameters:

window The window.
serial The update request number.

Send a ClientMessage event from window with the _NET_WM_SYNC_REQUEST property set.

EAPI int ecore_x_netwm_user_time_get (Ecore_X_Window window, unsigned int * time)

Get the last user activity time in the window.

Parameters:

window The window.
time The returned time.

Returns:

1 on success, 0 otherwise.

Return the XServer time at which last user activity in window took place. The time is stored in time.

To use this function, you must call before, and in order, ecore_x_netwm_user_time_get_prefetch(), which sends the GetProperty request, then ecore_x_netwm_user_time_get_fetch(), which gets the reply.

EAPI void ecore_x_netwm_user_time_get_prefetch (Ecore_X_Window window)

Sends the GetProperty request.

Parameters:

window The window.

EAPI void ecore_x_netwm_user_time_set (Ecore_X_Window window, unsigned int time)

Set the _NET_WM_USER_TIME property.

Parameters:

window The window.
time The last user activity time in the window.

Set the XServer time at which last user activity in window took place by sending the _NET_WM_USER_TIME property to window. time contains that XServer time in seconds.

This function allows a Window Manager to alter the focus, stacking, and/or placement behavior of windows when they are mapped depending on whether the new window was created by a user action or is a 'pop-up' window activated by a timer or some other event.

EAPI int ecore_x_netwm_visible_icon_name_get (Ecore_X_Window window, char ** name)

Get the visible icon name of a window.

Parameters:

window The window.
name The icon name.

Returns:

Returns always 1.

Retrieve the visible icon name of window and store it in name. The function returns always 1.

To use this function, you must call before, and in order, ecore_x_netwm_visible_icon_name_get_prefetch(), which sends the GetProperty request, then ecore_x_netwm_visible_icon_name_get_fetch(), which gets the reply.

EAPI void ecore_x_netwm_visible_icon_name_get_prefetch (Ecore_X_Window window)

Sends the GetProperty request.

Parameters:

window The window.

EAPI void ecore_x_netwm_visible_icon_name_set (Ecore_X_Window window, const char * name)

Set the _NET_WM_VISIBLE_ICON_NAME property.

Parameters:

window The widow to activate.
name The title name of the window.

Set the icon name of window to name by sending the _NET_WM_VISIBLE_ICON_NAME property to window, when the Window Manager displays a icon name other than by calling ecore_x_netwm_icon_name_set().

The Client SHOULD set the icon name in UTF-8 encoding. The Window Manager MUST use this function is it display an icon name other than with ecore_x_netwm_icon_name_set().

EAPI int ecore_x_netwm_visible_name_get (Ecore_X_Window window, char ** name)

Get the visible title of a window.

Parameters:

window The window.
name The title name.

Returns:

Returns always 1.

Retrieve the visible title name of window and store it in name. The function returns always 1.

Parameters:

window The window

To use this function, you must call before, and in order, ecore_x_netwm_visible_name_get_prefetch(), which sends the GetProperty request, then ecore_x_netwm_visible_name_get_fetch(), which gets the reply.

EAPI void ecore_x_netwm_visible_name_get_prefetch (Ecore_X_Window window)

Sends the GetProperty request.

Parameters:

window The window.

EAPI void ecore_x_netwm_visible_name_set (Ecore_X_Window window, const char * name)

Set the _NET_WM_VISIBLE_NAME property.

Parameters:

window The widow to activate.
name The title name of the window.

Set the title name of window to name by sending the _NET_WM_VISIBLE_NAME property to window, when the Window Manager displays a window name other than by calling ecore_x_netwm_name_set().

The Client SHOULD set the title of window in UTF-8 encoding. This function is used for displaying title windows like [xterm1], [xterm2], ... thereby allowing Pagers to display the same title as the Window Manager.

EAPI int ecore_x_netwm_window_state_get (Ecore_X_Window window, Ecore_X_Window_State ** state, unsigned int * num)

Get the hints describing the window state.

Parameters:

window The window.
state The returned hins.
num The number of hints.

Returns:

1 on success, 0 otherwise.

Retrieve the hints describing window state. The state is returned in state. The nummber of hints is stored in num. This function returns 1 on success, 0 otherwise.

To use this function, you must call before, and in order, ecore_x_netwm_window_state_get_prefetch(), which sends the GetProperty request, then ecore_x_netwm_window_state_get_fetch(), which gets the reply.

EAPI void ecore_x_netwm_window_state_get_prefetch (Ecore_X_Window window)

Sends the GetProperty request.

Parameters:

window The window.

EAPI void ecore_x_netwm_window_state_set (Ecore_X_Window window, Ecore_X_Window_State * state, unsigned int num)

Set the _NET_WM_STATE property.

Parameters:

window The window.
state An array of window hints.
num The number of hints.

Set a list of hints describing window state by sending the _NET_WM_STATE property to window. The hints are stored in the array state. num must contain the number of hints.

The Window Manager SHOULD honor _NET_WM_STATE whenever a withdrawn window requests to be mapped. A Client wishing to change the state of a window MUST send a _NET_WM_STATE client message to the root window. The Window Manager MUST keep this property updated to reflect the current state of the window.

EAPI int ecore_x_netwm_window_type_get (Ecore_X_Window window, Ecore_X_Window_Type * type)

Get the functional type of a window.

Parameters:

window The window.
type The function type of the window.

Returns:

1 on success, 0 otherwise.

Retrieve the functional type of window. The type is stored in type. This function returns 1 on success, 0 otherwise.

To use this function, you must call before, and in order, ecore_x_netwm_window_type_get_prefetch(), which sends the GetProperty request, then ecore_x_netwm_window_type_get_fetch(), which gets the reply.

EAPI void ecore_x_netwm_window_type_get_prefetch (Ecore_X_Window window)

Sends the GetProperty request.

Parameters:

window The window.

EAPI void ecore_x_netwm_window_type_set (Ecore_X_Window window, Ecore_X_Window_Type type)

Set the _NET_WM_WINDOW_TYPE property.

Parameters:

window The window.
type The functional type of the window.

Set the functional type of window by sending _NET_WM_WINDOW_TYPE property to window.

This property SHOULD be set by the Client before mapping. This property SHOULD be used by the window manager in determining the decoration, stacking position and other behavior of the window. The Client SHOULD specify window types in order of preference (the first being most preferable).

This hint is intended to replace the MOTIF hints.

EAPI void ecore_x_netwm_wm_identify (Ecore_X_Window root, Ecore_X_Window check, const char * wm_name)

Set the _NET_SUPPORTING_WM_CHECK property.

Parameters:

root The root window.
check The child window.
wm_name The name of the Window Manager.

Set the _NET_SUPPORTING_WM_CHECK property on the root window to be the ID of the child window check created by the Window Manager. check also have the _NET_WM_NAME property set to the name wm_name of the Window Manager.

The Window MUST call that function to indicate that a compliant window manager is active.

EAPI int ecore_x_screen_is_composited (int screen)

Check whether a screen is composited or not.

Parameters:

screen The screen index.

Return 1 if screen is composited, 0 otherwise.

Author

Generated automatically by Doxygen for Ecore from the source code.