weston/desktop-shell
Daniel Stone f04e1ec9ab desktop-shell: Clean up animate_focus_change()
Now that we're not allocating surfaces on demand, animate_focus_change()
becomes a lot more straightforward and common, and using some local
variables sure does cut out a lot of typing.

Knowing that both from and to cannot both be NULL (because we check if
from == to), we can change the juggling to be extremely simple:
calculate where we need the curtains to be in the view list, put them
there, and set up the fade.

Signed-off-by: Daniel Stone <daniels@collabora.com>
2023-08-11 14:10:45 +03:00
..
input-panel.c desktop-shell: Pass a weston_coord to calc_input_panel_position 2023-06-19 13:09:03 +00:00
meson.build shell-utils: Integrate shell-utils into libweston 2023-01-09 22:13:07 +00:00
shell.c desktop-shell: Clean up animate_focus_change() 2023-08-11 14:10:45 +03:00
shell.h desktop-shell: Keep track of shsurf being created/removed 2023-07-06 19:06:22 +00:00