Use a separate packet for refresh rate change

This commit is contained in:
Patrick Nicolas
2025-01-07 23:42:11 +01:00
parent d6649b0052
commit a434094055
10 changed files with 70 additions and 56 deletions
+1
View File
@@ -413,6 +413,7 @@ void wivrn_session::operator()(from_headset::visibility_mask_changed && mask)
void wivrn_session::operator()(from_headset::refresh_rate_changed && event)
{
comp_target->set_refresh_rate(event.to);
push_event(
{
.display = {