SDL  2.0
The org_kde_kwin_server_decoration interface

Data Structures

struct  org_kde_kwin_server_decoration_listener
 

Macros

#define ORG_KDE_KWIN_SERVER_DECORATION_MODE_SINCE_VERSION   1
 
#define ORG_KDE_KWIN_SERVER_DECORATION_RELEASE_SINCE_VERSION   1
 
#define ORG_KDE_KWIN_SERVER_DECORATION_REQUEST_MODE_SINCE_VERSION   1
 

Enumerations

enum  org_kde_kwin_server_decoration_mode {
  ORG_KDE_KWIN_SERVER_DECORATION_MODE_NONE = 0,
  ORG_KDE_KWIN_SERVER_DECORATION_MODE_CLIENT = 1,
  ORG_KDE_KWIN_SERVER_DECORATION_MODE_SERVER = 2
}
 

Functions

static int org_kde_kwin_server_decoration_add_listener (struct org_kde_kwin_server_decoration *org_kde_kwin_server_decoration, const struct org_kde_kwin_server_decoration_listener *listener, void *data)
 
static void org_kde_kwin_server_decoration_set_user_data (struct org_kde_kwin_server_decoration *org_kde_kwin_server_decoration, void *user_data)
 
static voidorg_kde_kwin_server_decoration_get_user_data (struct org_kde_kwin_server_decoration *org_kde_kwin_server_decoration)
 
static void org_kde_kwin_server_decoration_destroy (struct org_kde_kwin_server_decoration *org_kde_kwin_server_decoration)
 
static void org_kde_kwin_server_decoration_release (struct org_kde_kwin_server_decoration *org_kde_kwin_server_decoration)
 
static void org_kde_kwin_server_decoration_request_mode (struct org_kde_kwin_server_decoration *org_kde_kwin_server_decoration, uint32_t mode)
 

Detailed Description

Macro Definition Documentation

◆ ORG_KDE_KWIN_SERVER_DECORATION_MODE_SINCE_VERSION

#define ORG_KDE_KWIN_SERVER_DECORATION_MODE_SINCE_VERSION   1

◆ ORG_KDE_KWIN_SERVER_DECORATION_RELEASE_SINCE_VERSION

#define ORG_KDE_KWIN_SERVER_DECORATION_RELEASE_SINCE_VERSION   1

◆ ORG_KDE_KWIN_SERVER_DECORATION_REQUEST_MODE_SINCE_VERSION

#define ORG_KDE_KWIN_SERVER_DECORATION_REQUEST_MODE_SINCE_VERSION   1

Enumeration Type Documentation

◆ org_kde_kwin_server_decoration_mode

Possible values to use in request_mode and the event mode.

Enumerator
ORG_KDE_KWIN_SERVER_DECORATION_MODE_NONE 

Undecorated: The surface is not decorated at all, neither server nor client-side. An example is a popup surface which should not be decorated.

ORG_KDE_KWIN_SERVER_DECORATION_MODE_CLIENT 

Client-side decoration: The decoration is part of the surface and the client.

ORG_KDE_KWIN_SERVER_DECORATION_MODE_SERVER 

Server-side decoration: The server embeds the surface into a decoration frame.

Definition at line 198 of file org-kde-kwin-server-decoration-manager-client-protocol.h.

198  {
199  /**
200  * Undecorated: The surface is not decorated at all, neither server nor client-side. An example is a popup surface which should not be decorated.
201  */
203  /**
204  * Client-side decoration: The decoration is part of the surface and the client.
205  */
207  /**
208  * Server-side decoration: The server embeds the surface into a decoration frame.
209  */
211 };

Function Documentation

◆ org_kde_kwin_server_decoration_add_listener()

static int org_kde_kwin_server_decoration_add_listener ( struct org_kde_kwin_server_decoration *  org_kde_kwin_server_decoration,
const struct org_kde_kwin_server_decoration_listener listener,
void data 
)
inlinestatic

Definition at line 247 of file org-kde-kwin-server-decoration-manager-client-protocol.h.

249 {
250  return wl_proxy_add_listener((struct wl_proxy *) org_kde_kwin_server_decoration,
251  (void (**)(void)) listener, data);
252 }
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: SDL_opengl.h:1974

◆ org_kde_kwin_server_decoration_destroy()

static void org_kde_kwin_server_decoration_destroy ( struct org_kde_kwin_server_decoration *  org_kde_kwin_server_decoration)
inlinestatic

Definition at line 293 of file org-kde-kwin-server-decoration-manager-client-protocol.h.

294 {
295  wl_proxy_destroy((struct wl_proxy *) org_kde_kwin_server_decoration);
296 }

◆ org_kde_kwin_server_decoration_get_user_data()

static void* org_kde_kwin_server_decoration_get_user_data ( struct org_kde_kwin_server_decoration *  org_kde_kwin_server_decoration)
inlinestatic

Definition at line 280 of file org-kde-kwin-server-decoration-manager-client-protocol.h.

281 {
282  return wl_proxy_get_user_data((struct wl_proxy *) org_kde_kwin_server_decoration);
283 }

◆ org_kde_kwin_server_decoration_release()

static void org_kde_kwin_server_decoration_release ( struct org_kde_kwin_server_decoration *  org_kde_kwin_server_decoration)
inlinestatic

Definition at line 302 of file org-kde-kwin-server-decoration-manager-client-protocol.h.

References ORG_KDE_KWIN_SERVER_DECORATION_RELEASE.

303 {
304  wl_proxy_marshal((struct wl_proxy *) org_kde_kwin_server_decoration,
306 
307  wl_proxy_destroy((struct wl_proxy *) org_kde_kwin_server_decoration);
308 }

◆ org_kde_kwin_server_decoration_request_mode()

static void org_kde_kwin_server_decoration_request_mode ( struct org_kde_kwin_server_decoration *  org_kde_kwin_server_decoration,
uint32_t  mode 
)
inlinestatic

Definition at line 314 of file org-kde-kwin-server-decoration-manager-client-protocol.h.

References ORG_KDE_KWIN_SERVER_DECORATION_REQUEST_MODE.

315 {
316  wl_proxy_marshal((struct wl_proxy *) org_kde_kwin_server_decoration,
318 }
GLenum mode

◆ org_kde_kwin_server_decoration_set_user_data()

static void org_kde_kwin_server_decoration_set_user_data ( struct org_kde_kwin_server_decoration *  org_kde_kwin_server_decoration,
void user_data 
)
inlinestatic

Definition at line 273 of file org-kde-kwin-server-decoration-manager-client-protocol.h.

274 {
275  wl_proxy_set_user_data((struct wl_proxy *) org_kde_kwin_server_decoration, user_data);
276 }