From ba8b15d67592c3dfde264ccd441699377948c4cf Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Mon, 23 Nov 2020 20:10:55 +0100 Subject: sixel: change default max size to 10000x10000 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It used to be the size of the window. This caused images to be cropped when the application emitting them didn’t change the max size. --- pgo/pgo.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'pgo') diff --git a/pgo/pgo.c b/pgo/pgo.c index aa73187e..d401e533 100644 --- a/pgo/pgo.c +++ b/pgo/pgo.c @@ -13,6 +13,7 @@ #include "async.h" #include "config.h" +#include "sixel.h" #include "user-notification.h" #include "vt.h" @@ -200,7 +201,12 @@ main(int argc, const char *const *argv) .delayed_render_timer = { .lower_fd = lower_fd, .upper_fd = upper_fd - } + }, + .sixel = { + .palette_size = SIXEL_MAX_COLORS, + .max_width = SIXEL_MAX_WIDTH, + .max_height = SIXEL_MAX_HEIGHT, + }, }; tll_push_back(wayl.terms, &term); -- cgit v1.3