From 4266d3efc89cdf7d1af907677361caa24b58c9eb Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 28 Dec 2023 03:12:27 +0000 Subject: [PATCH] Assignment should be inside SIXEL. --- input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/input.c b/input.c index 9b0c9306..1e36b5ce 100644 --- a/input.c +++ b/input.c @@ -2293,7 +2293,6 @@ input_dcs_dispatch(struct input_ctx *ictx) if (wp == NULL) return (0); - w = wp->window; if (ictx->flags & INPUT_DISCARD) { log_debug("%s: %zu bytes (discard)", __func__, len); @@ -2301,6 +2300,7 @@ input_dcs_dispatch(struct input_ctx *ictx) } #ifdef ENABLE_SIXEL + w = wp->window; if (buf[0] == 'q') { si = sixel_parse(buf, len, w->xpixel, w->ypixel); if (si != NULL)