diff options
author | 2018-05-03 15:42:49 +1000 | |
---|---|---|
committer | 2018-05-03 15:42:49 +1000 | |
commit | 74d1367facf75e1b78fe54942f863e69b75c73d1 (patch) | |
tree | e6a3a39ed50d480f714ce3074a784e65b1acee21 /sway/desktop/xwayland.c | |
parent | Fix potential segfault when setting container title (diff) | |
download | sway-74d1367facf75e1b78fe54942f863e69b75c73d1.tar.gz sway-74d1367facf75e1b78fe54942f863e69b75c73d1.tar.zst sway-74d1367facf75e1b78fe54942f863e69b75c73d1.zip |
Update titles when surfaces are committed
Diffstat (limited to 'sway/desktop/xwayland.c')
-rw-r--r-- | sway/desktop/xwayland.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/desktop/xwayland.c b/sway/desktop/xwayland.c index 28f93d6e..a1e672ce 100644 --- a/sway/desktop/xwayland.c +++ b/sway/desktop/xwayland.c | |||
@@ -223,6 +223,7 @@ static void handle_commit(struct wl_listener *listener, void *data) { | |||
223 | view_update_size(view, xwayland_view->pending_width, | 223 | view_update_size(view, xwayland_view->pending_width, |
224 | xwayland_view->pending_height); | 224 | xwayland_view->pending_height); |
225 | view_damage(view, false); | 225 | view_damage(view, false); |
226 | container_update_title(view->swayc, view->wlr_xwayland_surface->title); | ||
226 | } | 227 | } |
227 | 228 | ||
228 | static void handle_unmap(struct wl_listener *listener, void *data) { | 229 | static void handle_unmap(struct wl_listener *listener, void *data) { |