mirror of
https://github.com/tmux/tmux.git
synced 2026-03-26 13:16:37 +00:00
Reviewed and removed the xxx fix-me comments.
This commit is contained in:
@@ -1990,7 +1990,6 @@ screen_write_pane_obscured(struct window_pane *base_wp)
|
|||||||
return(0);
|
return(0);
|
||||||
w = base_wp->window;
|
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) {
|
TAILQ_FOREACH_REVERSE(wp, &w->z_index, window_panes_zindex, zentry) {
|
||||||
if (wp == base_wp) {
|
if (wp == base_wp) {
|
||||||
found_self = 1;
|
found_self = 1;
|
||||||
|
|||||||
@@ -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];
|
char buf[1000];
|
||||||
size_t len;
|
size_t len;
|
||||||
enum tty_draw_line_state current_state, next_state;
|
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
|
* 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.
|
* the width to draw. atx,aty is the line on the terminal to draw it.
|
||||||
|
|||||||
5
tty.c
5
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->bigger = tty_window_offset(&c->tty, &ttyctx->wox, &ttyctx->woy,
|
||||||
&ttyctx->wsx, &ttyctx->wsy);
|
&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)
|
if (status_at_line(c) == 0)
|
||||||
ttyctx->yoff += status_line_size(c);
|
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.sy = wp->sy;
|
||||||
|
|
||||||
ttyctx.ptr = im;
|
ttyctx.ptr = im;
|
||||||
ttyctx.arg = wp; /* xxx remove this */
|
ttyctx.arg = wp;
|
||||||
ttyctx.set_client_cb = tty_set_client_cb;
|
ttyctx.set_client_cb = tty_set_client_cb;
|
||||||
ttyctx.allow_invisible_panes = 1;
|
ttyctx.allow_invisible_panes = 1;
|
||||||
tty_write_one(tty_cmd_sixelimage, c, &ttyctx);
|
tty_write_one(tty_cmd_sixelimage, c, &ttyctx);
|
||||||
@@ -2081,7 +2081,6 @@ tty_cmd_cell(struct tty *tty, const struct tty_ctx *ctx)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
if (ctx->num == 2) {
|
if (ctx->num == 2) {
|
||||||
/* xxxx need to check visible range */
|
|
||||||
tty_draw_line(tty, s, 0, s->cy, screen_size_x(s),
|
tty_draw_line(tty, s, 0, s->cy, screen_size_x(s),
|
||||||
ctx->xoff - ctx->wox, py, &ctx->defaults, ctx->palette);
|
ctx->xoff - ctx->wox, py, &ctx->defaults, ctx->palette);
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user