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§
- XxSession
V1 - A session for an application
Enums§
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