diff options
author | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-05-19 23:33:36 +1000 |
---|---|---|
committer | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-05-19 23:33:36 +1000 |
commit | 9fd28aea8cc78fc19bbde3ca9c25e3e7a5465f96 (patch) | |
tree | 602dfad3130297a3fb46c8d0f1c8b13aa3b76c37 /include | |
parent | Merge pull request #1982 from RyanDwyer/show-marks (diff) | |
download | sway-9fd28aea8cc78fc19bbde3ca9c25e3e7a5465f96.tar.gz sway-9fd28aea8cc78fc19bbde3ca9c25e3e7a5465f96.tar.zst sway-9fd28aea8cc78fc19bbde3ca9c25e3e7a5465f96.zip |
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.
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/tree/container.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sway/tree/container.h b/include/sway/tree/container.h index ec9e2385..e7e9d944 100644 --- a/include/sway/tree/container.h +++ b/include/sway/tree/container.h | |||
@@ -98,6 +98,8 @@ struct sway_container { | |||
98 | // Passed the previous parent | 98 | // Passed the previous parent |
99 | struct wl_signal reparent; | 99 | struct wl_signal reparent; |
100 | } events; | 100 | } events; |
101 | |||
102 | struct wl_listener reparent; | ||
101 | }; | 103 | }; |
102 | 104 | ||
103 | struct sway_container *container_create(enum sway_container_type type); | 105 | struct sway_container *container_create(enum sway_container_type type); |