aboutsummaryrefslogtreecommitdiff
path: root/sway/desktop/xdg_shell_v6.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-05-03 08:20:27 -0400
committerGitHub <noreply@github.com>2018-05-03 08:20:27 -0400
commit87e65e5c5b95e1b7c58bd1b722c97ebe0db8b477 (patch)
treee3ca897c922da50ec0fd68ed097acf1b7153f61f /sway/desktop/xdg_shell_v6.c
parentf3d0885524f4f1dc568baf21fcc8e387a316703f (diff)
parent58a033d8163c922eff8577b34523418c2c2ab432 (diff)
downloadsway-87e65e5c5b95e1b7c58bd1b722c97ebe0db8b477.tar.xz
Merge pull request #1895 from RyanDwyer/show-titles
Render titles
Diffstat (limited to 'sway/desktop/xdg_shell_v6.c')
-rw-r--r--sway/desktop/xdg_shell_v6.c2
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);
}