Function

Wnck-3.0Wnckset_client_typeSince 2.14

  • 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.

    Parameters

    • ewmh_sourceindication_client_type: Wnck.ClientType

      a role for the client.

    Returns void

    2.14