19 #ifndef MIRAL_SET_WINDOW_MANAGEMENT_POLICY_H 20 #define MIRAL_SET_WINDOW_MANAGEMENT_POLICY_H 32 class WindowManagerTools;
33 class WindowManagementPolicy;
41 void operator()(mir::Server& server)
const;
44 std::function<std::unique_ptr<WindowManagementPolicy>(
WindowManagerTools const& tools)> builder;
47 template<
typename Policy,
typename ...Args>
51 {
return std::make_unique<Policy>(tools, args...); }};
55 #endif //MIRAL_SET_WINDOW_MANAGEMENT_POLICY_H AutoUnblockThread is a helper thread class that can gracefully shutdown at destruction time...
Definition: sw_splash.h:26
Definition: set_window_management_policy.h:35
auto set_window_management_policy(Args &... args) -> SetWindowManagementPolicy
Definition: set_window_management_policy.h:48
Mir Abstraction Layer.
Definition: floating_window_manager.h:32