The default role is Wnck.ClientType.APPLICATION. Therefore, for
applications providing some window management features, like pagers or
tasklists, it is important to set the role to Wnck.ClientType.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.
Sets the role of the libwnck user.
The default role is Wnck.ClientType.APPLICATION. Therefore, for applications providing some window management features, like pagers or tasklists, it is important to set the role to Wnck.ClientType.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.