aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-07-27 18:00:42 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-07-27 18:00:42 +0000
commitaca5a64954ee736373d3f125632807582498c772 (patch)
tree9586d8d36ec03c62a57fc7b52acba26070f9b0b5
parentMerge branch 'scrollback-position-indicator' (diff)
render: scrollback indicator: apply weston sub-surface quirk
-rw-r--r--render.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/render.c b/render.c
index 2f95e5b3..59601c05 100644
--- a/render.c
+++ b/render.c
@@ -1433,6 +1433,7 @@ render_scrollback_position(struct terminal *term)
}
}
+ quirk_weston_subsurface_desync_on(win->scrollback_indicator_sub_surface);
wl_subsurface_set_position(
win->scrollback_indicator_sub_surface,
(term->width - margin - width) / scale,
@@ -1449,6 +1450,7 @@ render_scrollback_position(struct terminal *term)
}
wl_surface_commit(win->scrollback_indicator_surface);
+ quirk_weston_subsurface_desync_off(win->scrollback_indicator_sub_surface);
}
static void frame_callback(