weston/desktop-shell
Mario Kleiner 492c12fb8b desktop-shell: Allow fullscreen windows to mode-switch their output.
Fix desktop-shell's activate() method to only restore the output
mode on the single output on which a shell surface gets activated.

This way toplevel fullscreen surfaces can mode-switch their output
via method WL_SHELL_SURFACE_FULLSCREEN_METHOD_DRIVER and that
temporary mode properly persists until the surface loses its
fullscreen status, but effects like window switching and exposay
still work in the expected way.

v2: Split into a separate patch from original patch
    "Allow restore_output_mode() to work properly.",
    as suggested by Derek Foreman.

Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
Cc: Derek Foreman <derekf@osg.samsung.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
2015-07-02 15:14:30 +03:00
..
exposay.c desktop-shell: Allow multiple active fullscreen windows on multi-display setup. 2015-06-30 12:12:53 -07:00
input-panel.c Unified multiple definitions of container_of() macro. 2015-06-15 17:11:58 -07:00
shell.c desktop-shell: Allow fullscreen windows to mode-switch their output. 2015-07-02 15:14:30 +03:00
shell.h desktop-shell: Allow multiple active fullscreen windows on multi-display setup. 2015-06-30 12:12:53 -07:00