panelreels: account for tablet masking

pull/173/head
nick black 5 years ago
parent 4a7409ebda
commit a96e716663
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -296,7 +296,8 @@ panelreel_draw_tablet(const panelreel* pr, tablet* t, int frontiery,
//fprintf(stderr, "RESIZED (-1) from %d to %d\n", leny, ll);
}
}else{ // both borders are visible
ll += 2; // account for both borders
ll += !(pr->popts.tabletmask & NCBOXMASK_BOTTOM) +
!(pr->popts.tabletmask & NCBOXMASK_TOP);
//fprintf(stderr, "RESIZING (-2) from %d to %d\n", leny, ll);
wresize(fp, ll, lenx);
if(direction < 0){

Loading…
Cancel
Save