Skip to content

fullscreen-shell: allow to set dpms mode per output

Andreas Heynig requested to merge ahe/weston:fullscreen-set-dpms into main

We need to set the DPMS mode per output in the fullscreen shell. This patch is an approach to do this.

fullscreen-shell
  * add fullscreen_shell_set_dpms()

libweston/compositor.c:
  * add weston_output_dpms()
  * store dpms state in struct weston_output
  * check dpms state in weston_output_maybe_repaint() / weston_output_schedule_repaint()

wayland-procotol must be adapted too. See wayland-protocols:!24.

Edited by Daniel Stone

Merge request reports