So you see there are two important benefits:
1. The Mir API is minimal in size (in fact intentionally normalized [1])
2. The Mir API is maximally flexible; Mir doesn't need to know what a "menu" is. The toolkit is free to define whatever it likes.
[1] http://en.wikipedia.org/wiki/Database_normalization
It's also important to remember that our design documents detail the design of the Unity shell. Mir needs to support more than just Unity.
A more visual explanation:
sometoolkit_ create_ menu(conn, window, x, y): create_ surface_ sync(conn, parms); surface_ set_type( surf, mir_surface_ type_popover) ; surface_ set_parent( surf, window); surface_ place_relative( surf, x, y);
surf = mir_connection_
mir_
mir_
mir_
return surf;
So you see there are two important benefits: en.wikipedia. org/wiki/ Database_ normalization
1. The Mir API is minimal in size (in fact intentionally normalized [1])
2. The Mir API is maximally flexible; Mir doesn't need to know what a "menu" is. The toolkit is free to define whatever it likes.
[1] http://
It's also important to remember that our design documents detail the design of the Unity shell. Mir needs to support more than just Unity.