Available on crate feature server only.
Expand description

A session for an application

A xx_session_v1 object represents a session for an application. While the object exists, all surfaces which have been added to the session will have states stored by the compositor which can be reapplied at a later time. Two sessions cannot exist for the same identifier string.

States for surfaces added to a session are automatically updated by the compositor when they are changed.

Surfaces which have been added to a session are automatically removed from the session if xdg_toplevel.destroy is called for the surface.

Structs§

XxSessionV1
A session for an application

Enums§

Error
Event
Request

Constants§

EVT_CREATED_OPCODE
The wire opcode for this event
EVT_CREATED_SINCE
The minimal object version supporting this event
EVT_REPLACED_OPCODE
The wire opcode for this event
EVT_REPLACED_SINCE
The minimal object version supporting this event
EVT_RESTORED_OPCODE
The wire opcode for this event
EVT_RESTORED_SINCE
The minimal object version supporting this event
REQ_ADD_TOPLEVEL_OPCODE
The wire opcode for this request
REQ_ADD_TOPLEVEL_SINCE
The minimal object version supporting this request
REQ_DESTROY_OPCODE
The wire opcode for this request
REQ_DESTROY_SINCE
The minimal object version supporting this request
REQ_REMOVE_OPCODE
The wire opcode for this request
REQ_REMOVE_SINCE
The minimal object version supporting this request
REQ_RESTORE_TOPLEVEL_OPCODE
The wire opcode for this request
REQ_RESTORE_TOPLEVEL_SINCE
The minimal object version supporting this request