mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-20 09:46:20 +00:00
vbox6: adapt to GUI framebuffer size on startup
Explicitly, adapt to current framebuffer/window size after initialization finished. This ensures the use of the correct framebuffer dimensions in scenarios without a window manager. Thanks to Raphael for the patch.
This commit is contained in:
parent
3b456e0037
commit
974627f700
@ -365,7 +365,15 @@ struct Main : Event_handler
|
||||
ievent_source->RegisterListener(listener, ComSafeArrayAsInParam(event_types), true);
|
||||
}
|
||||
|
||||
Main(Genode::Env &env) : _env(env) { }
|
||||
Main(Genode::Env &env) : _env(env)
|
||||
{
|
||||
/*
|
||||
* Explicitly, adapt to current framebuffer/window size after
|
||||
* initialization finished. This ensures the use of the correct
|
||||
* framebuffer dimensions in scenarios without a window manager.
|
||||
*/
|
||||
_handle_fb_mode();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user