Skip to content
Snippets Groups Projects
Commit 9bba5541 authored by Olivier Fourdan's avatar Olivier Fourdan :tools:
Browse files

compositor: Base zoom update or refresh rate


Bug: 15391

Previously, the zoom update was based on XRandr refresh rate ÷ 2, or
30 by default if not available.

But that XRandr code was removed along with the removal of the fake
vblank sync code in favor of XPresent or GLX.

Base the zoom update on half the refresh rate of the primary monitor (if
available from GDK), so we would get the same results as with 4.12.

Signed-off-by: default avatarOlivier Fourdan <fourdan@xfce.org>
parent 0f292174
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment