aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h22
1 files changed, 10 insertions, 12 deletions
diff --git a/terminal.h b/terminal.h
index 92082d8c..90379ba1 100644
--- a/terminal.h
+++ b/terminal.h
@@ -86,6 +86,15 @@ struct row {
bool linebreak;
};
+struct sixel {
+ void *data;
+ pixman_image_t *pix;
+ int width;
+ int height;
+ int rows;
+ struct coord pos;
+};
+
struct grid {
int num_rows;
int num_cols;
@@ -97,6 +106,7 @@ struct grid {
tll(struct damage) damage;
tll(struct damage) scroll_damage;
+ tll(struct sixel) sixel_images;
};
struct vt_subparams {
@@ -175,16 +185,6 @@ struct ptmx_buffer {
size_t idx;
};
-struct sixel {
- void *data;
- pixman_image_t *pix;
- int width;
- int height;
- int rows;
- const struct grid *grid;
- struct coord pos;
-};
-
enum term_surface {
TERM_SURF_NONE,
TERM_SURF_GRID,
@@ -417,8 +417,6 @@ struct terminal {
unsigned max_height; /* Maximum image height, in pixels */
} sixel;
- tll(struct sixel) sixel_images;
-
bool hold_at_exit;
bool is_shutting_down;
void (*shutdown_cb)(void *data, int exit_code);