SDL
2.0
|
Macros | |
#define | ZXDG_DECORATION_MANAGER_V1_DESTROY_SINCE_VERSION 1 |
#define | ZXDG_DECORATION_MANAGER_V1_GET_TOPLEVEL_DECORATION_SINCE_VERSION 1 |
Functions | |
static void | zxdg_decoration_manager_v1_set_user_data (struct zxdg_decoration_manager_v1 *zxdg_decoration_manager_v1, void *user_data) |
static void * | zxdg_decoration_manager_v1_get_user_data (struct zxdg_decoration_manager_v1 *zxdg_decoration_manager_v1) |
static void | zxdg_decoration_manager_v1_destroy (struct zxdg_decoration_manager_v1 *zxdg_decoration_manager_v1) |
static struct zxdg_toplevel_decoration_v1 * | zxdg_decoration_manager_v1_get_toplevel_decoration (struct zxdg_decoration_manager_v1 *zxdg_decoration_manager_v1, struct xdg_toplevel *toplevel) |
This interface allows a compositor to announce support for server-side decorations.
A window decoration is a set of window controls as deemed appropriate by the party managing them, such as user interface components used to move, resize and change a window's state.
A client can use this protocol to request being decorated by a supporting compositor.
If compositor and client do not negotiate the use of a server-side decoration using this protocol, clients continue to self-decorate as they see fit.
Warning! The protocol described in this file is experimental and backward incompatible changes may be made. Backward compatible changes may be added together with the corresponding interface version bump. Backward incompatible changes are done by bumping the version number in the protocol and interface names and resetting the interface version. Once the protocol is to be declared stable, the 'z' prefix and the version number in the protocol and interface names are removed and the interface version number is reset.
#define ZXDG_DECORATION_MANAGER_V1_DESTROY_SINCE_VERSION 1 |
Definition at line 136 of file xdg-decoration-unstable-v1-client-protocol.h.
#define ZXDG_DECORATION_MANAGER_V1_GET_TOPLEVEL_DECORATION_SINCE_VERSION 1 |
Definition at line 140 of file xdg-decoration-unstable-v1-client-protocol.h.
|
inlinestatic |
Destroy the decoration manager. This doesn't destroy objects created with the manager.
Definition at line 169 of file xdg-decoration-unstable-v1-client-protocol.h.
References ZXDG_DECORATION_MANAGER_V1_DESTROY.
|
static |
Create a new decoration object associated with the given toplevel.
Creating an xdg_toplevel_decoration from an xdg_toplevel which has a buffer attached or committed is a client error, and any attempts by a client to attach or manipulate a buffer prior to the first xdg_toplevel_decoration.configure event must also be treated as errors.
Definition at line 189 of file xdg-decoration-unstable-v1-client-protocol.h.
References NULL, ZXDG_DECORATION_MANAGER_V1_GET_TOPLEVEL_DECORATION, and zxdg_toplevel_decoration_v1_interface.
|
inlinestatic |
Definition at line 151 of file xdg-decoration-unstable-v1-client-protocol.h.
|
inlinestatic |
Definition at line 144 of file xdg-decoration-unstable-v1-client-protocol.h.