Miscellaneous Functions

Miscellaneous Functions — other additional features.

Stability Level

Unstable, unless otherwise indicated

Synopsis

#include <libwnck/libwnck.h>

enum                WnckClientType;
void                wnck_set_client_type                (WnckClientType ewmh_sourceindication_client_type);

Description

These functions are utility functions providing some additional features to libwnck users.

Details

enum WnckClientType

typedef enum {
  WNCK_CLIENT_TYPE_APPLICATION = 1,
  WNCK_CLIENT_TYPE_PAGER = 2
} WnckClientType;

Type describing the role of the libwnck user.

WNCK_CLIENT_TYPE_APPLICATION

the libwnck user is a normal application.

WNCK_CLIENT_TYPE_PAGER

the libwnck user is an utility application dealing with window management, like pagers and taskbars.

Since 2.14


wnck_set_client_type ()

void                wnck_set_client_type                (WnckClientType ewmh_sourceindication_client_type);

Sets the role of the libwnck user.

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

ewmh_sourceindication_client_type :

a role for the client.

Since 2.14