mirror of
https://gitlab.freedesktop.org/wayland/weston
synced 2024-10-06 23:44:58 +00:00
desktop-shell: Remove unused fullscreen transform
I don't know when this stopped being used, but it's obviously not any more. Signed-off-by: Daniel Stone <daniels@collabora.com>
This commit is contained in:
parent
3ec2ebc7e2
commit
e9c67aedba
|
@ -123,7 +123,6 @@ struct shell_surface {
|
|||
} rotation;
|
||||
|
||||
struct {
|
||||
struct weston_transform transform; /* matrix from x, y */
|
||||
struct weston_curtain *black_view;
|
||||
} fullscreen;
|
||||
|
||||
|
@ -1764,10 +1763,6 @@ weston_view_set_initial_position(struct weston_view *view,
|
|||
static void
|
||||
unset_fullscreen(struct shell_surface *shsurf)
|
||||
{
|
||||
/* Unset the fullscreen output, driver configuration and transforms. */
|
||||
wl_list_remove(&shsurf->fullscreen.transform.link);
|
||||
wl_list_init(&shsurf->fullscreen.transform.link);
|
||||
|
||||
if (shsurf->fullscreen.black_view)
|
||||
weston_shell_utils_curtain_destroy(shsurf->fullscreen.black_view);
|
||||
shsurf->fullscreen.black_view = NULL;
|
||||
|
@ -2184,7 +2179,6 @@ desktop_surface_added(struct weston_desktop_surface *desktop_surface,
|
|||
shsurf->desktop_surface = desktop_surface;
|
||||
shsurf->view = view;
|
||||
shsurf->fullscreen.black_view = NULL;
|
||||
wl_list_init(&shsurf->fullscreen.transform.link);
|
||||
|
||||
shell_surface_set_output(
|
||||
shsurf, weston_shell_utils_get_default_output(shsurf->shell->compositor));
|
||||
|
|
Loading…
Reference in a new issue