genode/repos/gems/src
Norman Feske dd13a976af wm: alloc real view IDs locally
Don't use client-provided view IDs as IDs for the wrapped nitpicker
views. There is no 1:1 relation of IDs and physical views. So if a wm
client re-uses an ID, the physical view is expected to stay in tact.
If the corresponding view object within the wm is not destroyed, however,
its ID remains allocated, which may then conflict the ID of a new view
if the ID is reused by the client. This scenario resulted in the
following error:

  Error: Uncaught exception of type 'Genode::Id_space<Gui::View_ref>::Conflicting_id'

This patch handles the situation by keeping the allocator of physical
views (_real_view) decoupled from the client's ID allocator.

Issue #5242
2024-09-06 10:38:45 +02:00
..
app fs_query: replace Avl_tree by Dictonary 2024-09-06 10:37:41 +02:00
lib gui_session: allow return of View_capbility_error 2024-08-27 15:29:38 +02:00
server wm: alloc real view IDs locally 2024-09-06 10:38:45 +02:00
test qt5: avoid build of qt libs as target dep 2024-08-27 15:33:32 +02:00
trace_recorder/policy gems: src/lib/trace_recorder -> src/trace_recorder 2022-09-19 14:00:34 +02:00