diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2024-11-30 16:18:16 -0800 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2024-11-30 16:18:16 -0800 |
commit | d0fb101d1588f6e5dd68bdae97d48ee2d9d49817 (patch) | |
tree | f5914604e7d470eff85319fa0603f06ce16598fe /src | |
parent | 3ec67cdd5d4ec82ed10b6df20dc22db9242a322e (diff) |
This assert has proven interesting, but sticking it in the mem
backend limits its exercising to headless. I mostly run this on
Xlib in vwm/vmon, and it's proving annoying to trigger this
assert outside of embedded headless scenarios.
Diffstat (limited to 'src')
-rw-r--r-- | src/vcr.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1361,6 +1361,8 @@ void vcr_shift_below_row_up_one(vcr_t *vcr, int row) if ((row + 1) * VCR_ROW_HEIGHT >= vcr->height) return; + assert(*(vcr->hierarchy_end_ptr) >= row); + switch (vcr->backend->type) { #ifdef USE_XLIB case VCR_BACKEND_TYPE_XLIB: { |