From ef01e9daf8e039d31c7e422de8f7f67980fe8ca3 Mon Sep 17 00:00:00 2001 From: Michael Grant Date: Tue, 24 Mar 2026 14:35:59 +0000 Subject: [PATCH] Reviewed and removed the xxx fix-me comments. --- screen-write.c | 1 - tty-draw.c | 2 +- tty.c | 5 ++--- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/screen-write.c b/screen-write.c index 6618b5cc..b4285814 100644 --- a/screen-write.c +++ b/screen-write.c @@ -1990,7 +1990,6 @@ screen_write_pane_obscured(struct window_pane *base_wp) return(0); w = base_wp->window; - /* Check if there is a floating pane. xxxx borders? scrollbars? */ TAILQ_FOREACH_REVERSE(wp, &w->z_index, window_panes_zindex, zentry) { if (wp == base_wp) { found_self = 1; diff --git a/tty-draw.c b/tty-draw.c index a27b2d0d..fa9cbcd5 100644 --- a/tty-draw.c +++ b/tty-draw.c @@ -122,7 +122,7 @@ tty_draw_line(struct tty *tty, struct screen *s, u_int px, u_int py, u_int nx, char buf[1000]; size_t len; enum tty_draw_line_state current_state, next_state; -/* xxx maybe check overlay here? */ + /* * py is the line in the screen to draw. px is the start x and nx is * the width to draw. atx,aty is the line on the terminal to draw it. diff --git a/tty.c b/tty.c index 1c0c8ad2..cdf9f49f 100644 --- a/tty.c +++ b/tty.c @@ -1556,7 +1556,7 @@ tty_set_client_cb(struct tty_ctx *ttyctx, struct client *c) ttyctx->bigger = tty_window_offset(&c->tty, &ttyctx->wox, &ttyctx->woy, &ttyctx->wsx, &ttyctx->wsy); - ttyctx->yoff = ttyctx->ryoff = wp->yoff; /* xxxx find another way to do this */ + ttyctx->yoff = ttyctx->ryoff = wp->yoff; if (status_at_line(c) == 0) ttyctx->yoff += status_line_size(c); @@ -1584,7 +1584,7 @@ tty_draw_images(struct client *c, struct window_pane *wp, struct screen *s) ttyctx.sy = wp->sy; ttyctx.ptr = im; - ttyctx.arg = wp; /* xxx remove this */ + ttyctx.arg = wp; ttyctx.set_client_cb = tty_set_client_cb; ttyctx.allow_invisible_panes = 1; tty_write_one(tty_cmd_sixelimage, c, &ttyctx); @@ -2081,7 +2081,6 @@ tty_cmd_cell(struct tty *tty, const struct tty_ctx *ctx) return; if (ctx->num == 2) { - /* xxxx need to check visible range */ tty_draw_line(tty, s, 0, s->cy, screen_size_x(s), ctx->xoff - ctx->wox, py, &ctx->defaults, ctx->palette); return;