Enum smithay_client_toolkit::window::Decorations [−][src]
pub enum Decorations {
ServerSide,
ClientSide,
FollowServer,
None,
}
Expand description
Possible decoration modes for a Window
This represents what your application requests from the server.
In any case, the compositor may override your requests. In that case SCTK will follow its decision.
If you don’t care about it, you should use FollowServer
(which is the
SCTK default). It’d be the most ergonomic for your users.
Variants
ServerSide
Request server-side decorations
ClientSide
Force using the client-side Frame
FollowServer
Follow the preference of the compositor
None
Don’t decorate the Window