mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-23 23:42:32 +00:00
nit_fb: defer mode change to client response
The '_active_mode' must not be changed at any time except when the client asks for the 'Framebuffer::mode'. Otherwise, the dimensions of dataspace used by the client is not always consistent with the mode information as gathered by the client.
This commit is contained in:
parent
5d23ef9447
commit
7d55adf01c
@ -377,12 +377,6 @@ struct Nit_fb::Main : View_updater
|
|||||||
}
|
}
|
||||||
|
|
||||||
fb_session.size(Area(width, height));
|
fb_session.size(Area(width, height));
|
||||||
|
|
||||||
/*
|
|
||||||
* Simulate a client call Framebuffer::Session::mode to make the
|
|
||||||
* initial mode the active mode.
|
|
||||||
*/
|
|
||||||
fb_session.mode();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void handle_config_update()
|
void handle_config_update()
|
||||||
|
Loading…
Reference in New Issue
Block a user