This interface allows to coordinate whether the server should create a server-side window decoration around a wl_surface representing a shell surface (wl_shell_surface or similar). By announcing support for this interface the server indicates that it supports server side decorations.
More...
This interface allows to coordinate whether the server should create a server-side window decoration around a wl_surface representing a shell surface (wl_shell_surface or similar). By announcing support for this interface the server indicates that it supports server side decorations.
◆ ORG_KDE_KWIN_SERVER_DECORATION_MANAGER_CREATE_SINCE_VERSION
#define ORG_KDE_KWIN_SERVER_DECORATION_MANAGER_CREATE_SINCE_VERSION 1 |
◆ ORG_KDE_KWIN_SERVER_DECORATION_MANAGER_DEFAULT_MODE_SINCE_VERSION
#define ORG_KDE_KWIN_SERVER_DECORATION_MANAGER_DEFAULT_MODE_SINCE_VERSION 1 |
◆ org_kde_kwin_server_decoration_manager_mode
Possible values to use in request_mode and the event mode.
Enumerator |
---|
ORG_KDE_KWIN_SERVER_DECORATION_MANAGER_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_MANAGER_MODE_CLIENT | Client-side decoration: The decoration is part of the surface and the client.
|
ORG_KDE_KWIN_SERVER_DECORATION_MANAGER_MODE_SERVER | Server-side decoration: The server embeds the surface into a decoration frame.
|
Definition at line 80 of file org-kde-kwin-server-decoration-manager-client-protocol.h.
◆ org_kde_kwin_server_decoration_manager_add_listener()
◆ org_kde_kwin_server_decoration_manager_create()
static struct org_kde_kwin_server_decoration* org_kde_kwin_server_decoration_manager_create |
( |
struct org_kde_kwin_server_decoration_manager * |
org_kde_kwin_server_decoration_manager, |
|
|
struct wl_surface * |
surface |
|
) |
| |
|
inlinestatic |
When a client creates a server-side decoration object it indicates that it supports the protocol. The client is supposed to tell the server whether it wants server-side decorations or will provide client-side decorations.
If the client does not create a server-side decoration object for a surface the server interprets this as lack of support for this protocol and considers it as client-side decorated. Nevertheless a client-side decorated surface should use this protocol to indicate to the server that it does not want a server-side deco.
Definition at line 182 of file org-kde-kwin-server-decoration-manager-client-protocol.h.
186 id = wl_proxy_marshal_constructor((
struct wl_proxy *) org_kde_kwin_server_decoration_manager,
189 return (
struct org_kde_kwin_server_decoration *)
id;
References NULL, org_kde_kwin_server_decoration_interface, and ORG_KDE_KWIN_SERVER_DECORATION_MANAGER_CREATE.
◆ org_kde_kwin_server_decoration_manager_destroy()
static void org_kde_kwin_server_decoration_manager_destroy |
( |
struct org_kde_kwin_server_decoration_manager * |
org_kde_kwin_server_decoration_manager | ) |
|
|
inlinestatic |
◆ org_kde_kwin_server_decoration_manager_get_user_data()
static void* org_kde_kwin_server_decoration_manager_get_user_data |
( |
struct org_kde_kwin_server_decoration_manager * |
org_kde_kwin_server_decoration_manager | ) |
|
|
inlinestatic |
◆ org_kde_kwin_server_decoration_manager_set_user_data()
static void org_kde_kwin_server_decoration_manager_set_user_data |
( |
struct org_kde_kwin_server_decoration_manager * |
org_kde_kwin_server_decoration_manager, |
|
|
void * |
user_data |
|
) |
| |
|
inlinestatic |