Mir
|
The main() program from miral-shell looks like this:
This shell is providing FloatingWindowManagerPolicy, TilingWindowManagerPolicy and SpinnerSplash. The rest is from MirAL.
If you look for the corresponding code in lp:qtmir and lp:mir you’ll find it less clear, more verbose and scattered over multiple files.
A shell has to provide a window management policy (miral-shell provides two: FloatingWindowManagerPolicy and TilingWindowManagerPolicy). A window management policy needs to implement the miral::WindowManagementPolicy interface for handling a set of window management events.
The way these events are handled determines the behaviour of the shell.
The miral::WindowManagerTools interface provides the principle methods for a window management policy to control Mir.
Copyright © 2012-2022
Canonical Ltd.
Generated on Tue Feb 1 20:51:23 UTC 2022
This documentation is licensed under the GPL version 2 or 3.