genode/repos/demo
Norman Feske f98c356efd gui_session: manage view ID at the client side
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
2024-08-27 15:29:38 +02:00
..
doc demo: update tutorial text 2024-05-29 09:18:12 +02:00
include gui_session: manage view ID at the client side 2024-08-27 15:29:38 +02:00
lib demo: remove use of format strings from mini_c lib 2023-03-13 14:32:53 +01:00
recipes depot: update recipe hashes 2024-06-20 12:59:00 +02:00
src gui_session: manage view ID at the client side 2024-08-27 15:29:38 +02:00