Rebuild textures if needed when moving a container

When moving a container to an output which has a different scale than
the previous, rebuild the title and marks textures at the new scale.

Fixes #1999.
This commit is contained in:
Ryan Dwyer 2018-05-19 23:33:36 +10:00
parent c2c5a3f5f6
commit 9fd28aea8c
2 changed files with 43 additions and 0 deletions

View file

@ -98,6 +98,8 @@ struct sway_container {
// Passed the previous parent
struct wl_signal reparent;
} events;
struct wl_listener reparent;
};
struct sway_container *container_create(enum sway_container_type type);