summaryrefslogtreecommitdiffstats
path: root/include/sway/tree/container.h
diff options
context:
space:
mode:
authorLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-05-19 23:33:36 +1000
committerLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-05-19 23:33:36 +1000
commit9fd28aea8cc78fc19bbde3ca9c25e3e7a5465f96 (patch)
tree602dfad3130297a3fb46c8d0f1c8b13aa3b76c37 /include/sway/tree/container.h
parentMerge pull request #1982 from RyanDwyer/show-marks (diff)
downloadsway-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/sway/tree/container.h')
-rw-r--r--include/sway/tree/container.h2
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
103struct sway_container *container_create(enum sway_container_type type); 105struct sway_container *container_create(enum sway_container_type type);