diff options
author | Simon Ser <contact@emersion.fr> | 2023-12-30 20:06:33 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2023-12-30 20:06:33 +0100 |
commit | f81c3d93cd6f61b20ae784297679283438def8df (patch) | |
tree | 3b406bbd30b46965b9eff201f62b4d5509cce59f /examples/simple.c | |
parent | ab924064f230cce2aea2e45bd113adea9d37f286 (diff) |
backend/drm: save current refresh rate
wlr_output.refresh is populated by core wlr_output, and thus will
be zero for a custom mode with an unset refresh rate.
Save the refresh rate from the drmModeModeInfo in wlr_drm_connector
instead.
Closes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3791
Diffstat (limited to 'examples/simple.c')
0 files changed, 0 insertions, 0 deletions