Go to the documentation of this file.
19#ifndef MIRAL_SET_WINDOW_MANAGEMENT_POLICY_H
20#define MIRAL_SET_WINDOW_MANAGEMENT_POLICY_H
44 std::function<std::unique_ptr<WindowManagementPolicy>(
WindowManagerTools const& tools)> builder;
47template<
typename Policy,
typename ...Args>
51 {
return std::make_unique<Policy>(tools, args...); }};
Definition set_window_management_policy.h:36
void operator()(mir::Server &server) const
~SetWindowManagementPolicy()
SetWindowManagementPolicy(std::function< std::unique_ptr< WindowManagementPolicy >(WindowManagerTools const &tools)> const &builder)
The interface through which the window management policy is determined.
Definition window_management_policy.h:47
Definition splash_session.h:24
Mir Abstraction Layer.
Definition floating_window_manager.h:29
auto set_window_management_policy(Args &... args) -> SetWindowManagementPolicy
Definition set_window_management_policy.h:48
Copyright © 2012-2026
Canonical Ltd.
Generated on Sun Mar 15 20:28:55 UTC 2026
This documentation is licensed under the GPL version 2 or 3.