aboutsummaryrefslogtreecommitdiffstats
path: root/sway/desktop/xwayland.c
diff options
context:
space:
mode:
authorLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-06-18 20:42:12 +1000
committerLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-06-18 20:42:12 +1000
commit1c89f32533534f6e78c81c95578f40df45bb9016 (patch)
tree98ba154e1cbd5148e9b7178037c26a3dadcec839 /sway/desktop/xwayland.c
parentMerge remote-tracking branch 'upstream/master' into atomic (diff)
downloadsway-1c89f32533534f6e78c81c95578f40df45bb9016.tar.gz
sway-1c89f32533534f6e78c81c95578f40df45bb9016.tar.zst
sway-1c89f32533534f6e78c81c95578f40df45bb9016.zip
Preserve buffers during transactions
* Also fix parts of the rendering where it was rendering the pending state instead of current.
Diffstat (limited to 'sway/desktop/xwayland.c')
-rw-r--r--sway/desktop/xwayland.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/desktop/xwayland.c b/sway/desktop/xwayland.c
index 70929d48..55917bf6 100644
--- a/sway/desktop/xwayland.c
+++ b/sway/desktop/xwayland.c
@@ -261,8 +261,8 @@ static void handle_commit(struct wl_listener *listener, void *data) {
261 view_update_size(view, view->swayc->width, view->swayc->height); 261 view_update_size(view, view->swayc->width, view->swayc->height);
262 } 262 }
263 view_update_position(view, view->x, view->y); 263 view_update_position(view, view->x, view->y);
264 view_damage_from(view);
265 } 264 }
265 view_damage_from(view);
266} 266}
267 267
268static void handle_unmap(struct wl_listener *listener, void *data) { 268static void handle_unmap(struct wl_listener *listener, void *data) {