mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-01 07:15:32 -04: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
12
quirks.c
12
quirks.c
|
|
@ -67,6 +67,7 @@ quirk_weston_csd_off(struct terminal *term)
|
|||
quirk_weston_subsurface_desync_off(term->window->csd.surface[i].sub);
|
||||
}
|
||||
|
||||
#if 0
|
||||
static bool
|
||||
is_sway(void)
|
||||
{
|
||||
|
|
@ -82,13 +83,4 @@ is_sway(void)
|
|||
|
||||
return is_sway;
|
||||
}
|
||||
|
||||
void
|
||||
quirk_sway_subsurface_unmap(struct terminal *term)
|
||||
{
|
||||
return;
|
||||
if (!is_sway())
|
||||
return;
|
||||
|
||||
wl_surface_damage_buffer(term->window->surface.surf, 0, 0, INT32_MAX, INT32_MAX);
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue