present: fix msc offset calculation in screen mode

Graphics / X.Org / X.Org Server - Ɓukasz Spintzyk [synaptics.com] - 16 April 2021 10:53 UTC

Instead of getting the current msc value from the window crtc, which not exist take the last saved msc value saved in the window_priv struct

d2dce22b6 present: fix msc offset calculation in screen mode
configure.ac | 2 +-
hw/dmx/dmxextension.c | 3 ---
hw/dmx/dmxinit.c | 2 --
present/present_scmd.c | 5 +++--
randr/randrstr.h | 5 +++++
randr/rrcrtc.c | 43 ++++++++++++++++++++++++++++++++++++++++++-
randr/rrprovider.c | 2 +-
7 files changed, 52 insertions(+), 10 deletions(-)

Upstream: cgit.freedesktop.org


  • Share