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 | c2c5a3f5f6bdc061acae4e0583c4fd85c7ed21ac (diff) |
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 { // Passed the previous parent struct wl_signal reparent; } events; + + struct wl_listener reparent; }; struct sway_container *container_create(enum sway_container_type type); |