diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2023-06-26 14:10:40 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2023-06-29 13:38:23 +0000 |
| commit | ba46a039aca734bb284c22ba5d5bddf5407e3848 (patch) | |
| tree | d5fe1a26a1cf107cbec555d4a54a54cb4a42f4e2 /quirks.c | |
| parent | wayland: add viewport object to sub-surface struct (diff) | |
wayland: refactor: wrap wl_surface pointers in a wayl_surface struct
And add a viewport object to accompany the surface (to be used when
scaling the surface).
Also rename the wl_surf_subsurf struct to wayl_sub_surface, and add a
wayl_surface object to it, rather than a plain wl_surface pointer (to
also get the viewport pointer).
Diffstat (limited to 'quirks.c')
| -rw-r--r-- | quirks.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -89,5 +89,5 @@ quirk_sway_subsurface_unmap(struct terminal *term) if (!is_sway()) return; - wl_surface_damage_buffer(term->window->surface, 0, 0, INT32_MAX, INT32_MAX); + wl_surface_damage_buffer(term->window->surface.surf, 0, 0, INT32_MAX, INT32_MAX); } |
