diff --git a/popup.c b/popup.c index f913adb0..4ef1cc0a 100644 --- a/popup.c +++ b/popup.c @@ -280,6 +280,10 @@ popup_draw_cb(struct client *c, void *data, struct screen_redraw_ctx *rctx) popup_reapply_styles(pd); screen_init(&s, pd->sx, pd->sy, 0); + if (pd->s.hyperlinks != NULL) { + hyperlinks_free(s.hyperlinks); + s.hyperlinks = hyperlinks_copy(pd->s.hyperlinks); + } screen_write_start(&ctx, &s); screen_write_clearscreen(&ctx, 8);