diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2025-06-09 05:08:24 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2025-06-09 05:08:24 +0000 |
| commit | 7347f4beb1314df12e834a260f18feae8b775a5a (patch) | |
| tree | 8825ddf35fe107cf365d3f8bbf88c2bb23b384d6 /render.c | |
| parent | wayland: fix global listener for xdg_toplevel_icon_manager_v1 (diff) | |
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.
Diffstat (limited to 'render.c')
| -rw-r--r-- | render.c | 11 |
1 files changed, 1 insertions, 10 deletions
@@ -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; } |
