summaryrefslogtreecommitdiffstats
path: root/sway/desktop/xwayland.c
diff options
context:
space:
mode:
authorLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-05-03 15:42:49 +1000
committerLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-05-03 15:42:49 +1000
commit74d1367facf75e1b78fe54942f863e69b75c73d1 (patch)
treee6a3a39ed50d480f714ce3074a784e65b1acee21 /sway/desktop/xwayland.c
parentFix potential segfault when setting container title (diff)
downloadsway-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.c1
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
228static void handle_unmap(struct wl_listener *listener, void *data) { 229static void handle_unmap(struct wl_listener *listener, void *data) {