mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
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:
parent
eeaecba723
commit
7347f4beb1
5 changed files with 8 additions and 26 deletions
11
render.c
11
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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue