mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-25 17:25:08 +02:00
LibWebView+WebContent: Make it possible to change the painting interval
This allows us to paint at the refresh rate of the screen. The default is 60, as before, in case it never gets set by anything.
This commit is contained in:
committed by
Alexander Kalenik
parent
31faf31f6a
commit
c93c30d596
Notes:
github-actions[bot]
2025-07-26 14:10:40 +00:00
Author: https://github.com/Lubrsi Commit: https://github.com/LadybirdBrowser/ladybird/commit/c93c30d5966 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5606 Reviewed-by: https://github.com/Psychpsyo Reviewed-by: https://github.com/kalenikaliaksandr
@@ -589,6 +589,7 @@ void ViewImplementation::initialize_client(CreateNewClient create_new_client)
|
||||
client().async_set_window_handle(m_client_state.page_index, m_client_state.client_handle);
|
||||
|
||||
client().async_set_device_pixels_per_css_pixel(m_client_state.page_index, m_device_pixel_ratio);
|
||||
client().async_set_maximum_frames_per_second(m_client_state.page_index, m_maximum_frames_per_second);
|
||||
client().async_set_system_visibility_state(m_client_state.page_index, m_system_visibility_state);
|
||||
|
||||
if (auto webdriver_content_ipc_path = Application::browser_options().webdriver_content_ipc_path; webdriver_content_ipc_path.has_value())
|
||||
|
||||
Reference in New Issue
Block a user