aboutsummaryrefslogtreecommitdiff
path: root/render.c
diff options
context:
space:
mode:
Diffstat (limited to 'render.c')
-rw-r--r--render.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/render.c b/render.c
index 244152ef..1c24bafa 100644
--- a/render.c
+++ b/render.c
@@ -1970,10 +1970,6 @@ render_overlay(struct terminal *term)
wl_surface_commit(overlay->surface.surf);
term->render.last_overlay_style = OVERLAY_NONE;
term->render.last_overlay_buf = NULL;
-
- /* Work around Sway bug - unmapping a sub-surface does not
- * damage the underlying surface */
- quirk_sway_subsurface_unmap(term);
}
return;
}
@@ -2919,13 +2915,8 @@ render_scrollback_position(struct terminal *term)
struct wl_window *win = term->window;
if (term->grid->view == term->grid->offset) {
- if (win->scrollback_indicator.surface.surf != NULL) {
+ if (win->scrollback_indicator.surface.surf != NULL)
wayl_win_subsurface_destroy(&win->scrollback_indicator);
-
- /* Work around Sway bug - unmapping a sub-surface does not damage
- * the underlying surface */
- quirk_sway_subsurface_unmap(term);
- }
return;
}