weston/desktop-shell
Mario Kleiner 9f4d655494 desktop-shell: Allow multiple active fullscreen windows on multi-display setup.
Desktop shell demoted all fullscreen shell surfaces on all active
outputs of a multi-display setup whenever any shell surface was
activated anywhere. This made it impossible to have multiple
fullscreen windows on separate outputs active at the same
time, as creating or activating any shell surface would disable
fullscreen status for all existing fullscreen surfaces.

Make lower_fullscreen_layer() more selective, so on request it
only demotes fullscreen surfaces on a specified weston_output.

The activate() method for a specific surface will now only request
demotion of fullscreen surfaces on the target output of the activated
surface, but leave fullscreen surfaces on unrelated outputs alone.

Desktop wide acting functions like the window switcher or exposay
will still demote all fullscreen surfaces on all outputs to
implement their effect as before.

Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
Reviewed-By: Derek Foreman <derekf@osg.samsung.com>
2015-06-30 12:12:53 -07: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 multiple active fullscreen windows on multi-display setup. 2015-06-30 12:12:53 -07:00
shell.h desktop-shell: Allow multiple active fullscreen windows on multi-display setup. 2015-06-30 12:12:53 -07:00