mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-19 07:38:28 +00:00
gui_session: split alloc_view_handle, view_handle
Express the allocation of a new view handle by a dedicated RPC function instead of passing an invalid view handle to the existing 'view_handle' function. This eliminates the notion of invalid view handles at the GUI session interface, clearing the way for managing view handles via an Id_space. Issue #5242
This commit is contained in:
committed by
Christian Helmuth
parent
f274ed549e
commit
4e711d4738
@ -134,6 +134,9 @@ struct Sandboxed_runtime::Gui_session : Session_object<Gui::Session>
|
||||
void destroy_view(View_handle view) override {
|
||||
_gui_session.destroy_view(view); }
|
||||
|
||||
Alloc_view_handle_result alloc_view_handle(View_capability view_cap) override {
|
||||
return _gui_session.alloc_view_handle(view_cap); }
|
||||
|
||||
View_handle_result view_handle(View_capability view_cap, View_handle handle) override {
|
||||
return _gui_session.view_handle(view_cap, handle); }
|
||||
|
||||
|
Reference in New Issue
Block a user