tools/intel-virtual-output: Propagate screen blanking

Graphics / X.Org / xf86-video-intel - Chris Wilson [chris-wilson.co.uk] - 4 January 2016 12:15 UTC

When attaching to a target display, disable the builtin screen blanking (equivalent to xset -d :8 s off, or setting Option "BlankTime" "0" Option "StandbyTime" "0" Option "SuspendTime" "0" Option "OffTime" "0" in the target xorg.conf). Then listen to the ScreenSaver notify events on the host and forward the activations/resets to the targets. This should then keep all the screen blanking in sync.

8e98751 tools/intel-virtual-output: Propagate screen blanking
configure.ac | 2 +-
tools/virtual.c | 113 ++++++++++++++++++++++++++++++++++++++++++++++++++++---
2 files changed, 109 insertions(+), 6 deletions(-)

Upstream: cgit.freedesktop.org


  • Share