aboutsummaryrefslogtreecommitdiff
path: root/pgo
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-11-23 19:10:55 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-11-23 19:10:55 +0000
commitba8b15d67592c3dfde264ccd441699377948c4cf (patch)
tree6da06ab3fcc042b6b58cb07791d27439b3e4eb83 /pgo
parentrender: don’t call term_arm_blink_timer() from multiple threads (diff)
sixel: change default max size to 10000x10000
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.
Diffstat (limited to 'pgo')
-rw-r--r--pgo/pgo.c8
1 files changed, 7 insertions, 1 deletions
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);