diff options
author | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-05-03 15:42:49 +1000 |
---|---|---|
committer | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-05-03 15:42:49 +1000 |
commit | 74d1367facf75e1b78fe54942f863e69b75c73d1 (patch) | |
tree | e6a3a39ed50d480f714ce3074a784e65b1acee21 /sway/desktop/xdg_shell_v6.c | |
parent | 89d1571041d8e7c388b62c8f86ece06cc806dc04 (diff) |
Update titles when surfaces are committed
Diffstat (limited to 'sway/desktop/xdg_shell_v6.c')
-rw-r--r-- | sway/desktop/xdg_shell_v6.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/desktop/xdg_shell_v6.c b/sway/desktop/xdg_shell_v6.c index 94556231..5880e9a9 100644 --- a/sway/desktop/xdg_shell_v6.c +++ b/sway/desktop/xdg_shell_v6.c @@ -176,6 +176,8 @@ static void handle_commit(struct wl_listener *listener, void *data) { // TODO: Let floating views do whatever view_update_size(view, xdg_shell_v6_view->pending_width, xdg_shell_v6_view->pending_height); + container_update_title(view->swayc, + view->wlr_xdg_surface_v6->toplevel->title); view_damage(view, false); } |