EHS
The zxdg_toplevel_decoration_v1 interface

Classes

struct  zxdg_toplevel_decoration_v1_listener
 

Macros

#define ZXDG_TOPLEVEL_DECORATION_V1_CONFIGURE_SINCE_VERSION   1
 
#define ZXDG_TOPLEVEL_DECORATION_V1_DESTROY_SINCE_VERSION   1
 
#define ZXDG_TOPLEVEL_DECORATION_V1_SET_MODE_SINCE_VERSION   1
 
#define ZXDG_TOPLEVEL_DECORATION_V1_UNSET_MODE_SINCE_VERSION   1
 

Enumerations

enum  zxdg_toplevel_decoration_v1_mode { ZXDG_TOPLEVEL_DECORATION_V1_MODE_CLIENT_SIDE = 1 , ZXDG_TOPLEVEL_DECORATION_V1_MODE_SERVER_SIDE = 2 }
 

Detailed Description

The decoration object allows the compositor to toggle server-side window decorations for a toplevel surface. The client can request to switch to another mode.

The xdg_toplevel_decoration object must be destroyed before its xdg_toplevel.

Macro Definition Documentation

◆ ZXDG_TOPLEVEL_DECORATION_V1_CONFIGURE_SINCE_VERSION

#define ZXDG_TOPLEVEL_DECORATION_V1_CONFIGURE_SINCE_VERSION   1

◆ ZXDG_TOPLEVEL_DECORATION_V1_DESTROY_SINCE_VERSION

#define ZXDG_TOPLEVEL_DECORATION_V1_DESTROY_SINCE_VERSION   1

◆ ZXDG_TOPLEVEL_DECORATION_V1_SET_MODE_SINCE_VERSION

#define ZXDG_TOPLEVEL_DECORATION_V1_SET_MODE_SINCE_VERSION   1

◆ ZXDG_TOPLEVEL_DECORATION_V1_UNSET_MODE_SINCE_VERSION

#define ZXDG_TOPLEVEL_DECORATION_V1_UNSET_MODE_SINCE_VERSION   1

Enumeration Type Documentation

◆ zxdg_toplevel_decoration_v1_mode

window decoration modes

These values describe window decoration modes.

Enumerator
ZXDG_TOPLEVEL_DECORATION_V1_MODE_CLIENT_SIDE 

no server-side window decoration

ZXDG_TOPLEVEL_DECORATION_V1_MODE_SERVER_SIDE 

server-side window decoration