Class Decorations

Class Documentation

class Decorations

Configures the window decoration strategy.

Remark

Since MirAL 5.1

Note

The strategy can only be applied to clients that are able to negotiate the decoration style with the server.

Public Functions

Decorations() = delete
Decorations(Decorations const&) = default
Decorations &operator=(Decorations const&) = default
void operator()(mir::Server&) const

Public Static Functions

static Decorations always_ssd()

Always use server side decorations regardless of the client’s choice.

static Decorations always_csd()

Always use client side decorations regardless of the client’s choice.

static Decorations prefer_ssd()

Prefer server side decorations if the client does not set a specific mode. Otherwise use the mode specified by the client.

static Decorations prefer_csd()

Prefer client side decorations if the client does not set a specific mode. Otherwise use the mode specified by the client.