quirks: remove subsurface unmap quirk for Sway

Sway used to have an issue where unmapping a subsurface did not damage
the surface below (https://github.com/swaywm/sway/issues/6960).

This has been fixed for quite some time now, so let's remove the
quirk.
This commit is contained in:
Daniel Eklöf 2025-06-09 07:08:24 +02:00
parent eeaecba723
commit 7347f4beb1
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
5 changed files with 8 additions and 26 deletions

View file

@ -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;
}