weston/desktop-shell
Daniel Stone e031397e09 desktop-shell: Reuse curtains for focus animations
Just as we do for fullscreen backgrounds, reuse the curtain infrastructure
for focus animations.

This introduces a small functional change, in that the surface's output
is no longer directly assigned. Instead, we call
weston_view_set_output() ourselves. As setting the weston_view's
position (done from the common helper function of weston_curtain_create
which has been introduced in previous commits) will call
weston_view_set_position(), the view's geometry will be dirtied as a
result.

When the geometry of a weston_view is dirty, it is marked to be updated,
which will occur whilst traversing the view list during output repaint.
This occurs for every view which is currently assigned to a layer; when
building the view list, any view reachable through the view list whose
geometry is dirty will have its position recalculated and an output
assigned. Doing so results in the surface's current output being
updated.

It is believed that there is no functional impact from the
weston_surface not having a primary output assigned between creation and
output repaint being called.

Signed-off-by: Daniel Stone <daniels@collabora.com>
2022-03-31 17:15:55 +00:00
..
exposay.c Fix indentation all through the project 2021-07-31 15:28:20 +00:00
input-panel.c desktop-shell: Fix wrong initial position of input panel 2021-10-14 21:17:07 +09:00
meson.build shared/shell-utils: Create common helpers functions for shells 2021-11-02 19:29:50 +02:00
shell.c desktop-shell: Reuse curtains for focus animations 2022-03-31 17:15:55 +00:00
shell.h desktop-shell: Keep track of seats 2021-10-14 09:06:44 +00:00