diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-07-28 18:01:56 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-07-28 18:01:56 +0000 |
| commit | 295083059ca8f642437abf44329698d1bbbb0067 (patch) | |
| tree | e6ebc7f9d0330589a19c420f7ba138438eb8e74c /wayland.c | |
| parent | changelog: improved font size consistency across monitors with different DPI (diff) | |
| parent | config: fix check for scrollback-indicator-format=percentage (diff) | |
Merge branch 'master' into diagonal-dpi
Diffstat (limited to 'wayland.c')
| -rw-r--r-- | wayland.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1212,6 +1212,11 @@ wayl_win_destroy(struct wl_window *win) * nor mouse focus). */ + if (win->scrollback_indicator_surface != NULL) { + wl_surface_attach(win->scrollback_indicator_surface, NULL, 0, 0); + wl_surface_commit(win->scrollback_indicator_surface); + } + /* Scrollback search */ if (win->search_surface != NULL) { wl_surface_attach(win->search_surface, NULL, 0, 0); @@ -1236,6 +1241,10 @@ wayl_win_destroy(struct wl_window *win) tll_free(win->on_outputs); csd_destroy(win); + if (win->scrollback_indicator_sub_surface != NULL) + wl_subsurface_destroy(win->scrollback_indicator_sub_surface); + if (win->scrollback_indicator_surface != NULL) + wl_surface_destroy(win->scrollback_indicator_surface); if (win->search_sub_surface != NULL) wl_subsurface_destroy(win->search_sub_surface); if (win->search_surface != NULL) |
