mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-23 15:32:25 +00:00
f98c356efd
This patch moves the management of view IDs from the server to the client side. The former 'create_view' and 'create_child_view' operations do no longer return a view ID but take a view ID as argument. While changing those operations, this patch takes the opportunity to allow for initial view attributes. Combined, those changes simplify the window manager while accommodating typical client use cases with less code. To ease the client-side ID management, the Gui::Connection hosts a 'view_ids' ID space for optional use. E.g., the new 'Top_level_view' class uses this ID space for ID allocation. This class accommodates the most typical use case of opening a single window. The 'alloc_view_id' RPC function is no longer needed. Issue #5242 |
||
---|---|---|
.. | ||
capability.h | ||
client.h | ||
connection.h | ||
gui_session.h |