set_client_type


Description:


[ Version ( since = "2.14" ) ]
public void set_client_type (ClientType ewmh_sourceindication_client_type)

Sets the role of the libwnck user.

The default role is APPLICATION. Therefore, for applications providing some window management features, like pagers or tasklists, it is important to set the role to PAGER for libwnck to properly work.

This function should only be called once per program. Additional calls with the same client type will be silently ignored. An attempt to change the client type to a differnet value after it has already been set will be ignored and a critical warning will be logged.

Parameters:

ewmh_sourceindication_client_type

a role for the client.


Namespace: Wnck
Package: libwnck-3.0