diff --git a/src/document/options.h b/src/document/options.h index 9c27e102..6456e69d 100644 --- a/src/document/options.h +++ b/src/document/options.h @@ -62,10 +62,9 @@ struct document_options { int meta_link_display; int default_form_input_size; int document_width; -#ifdef CONFIG_LIBSIXEL int cell_width; int cell_height; -#endif + /** @name The default (fallback) colors. * @{ */ struct text_style default_style; diff --git a/src/terminal/event.h b/src/terminal/event.h index e9100737..f8afa78f 100644 --- a/src/terminal/event.h +++ b/src/terminal/event.h @@ -119,10 +119,8 @@ set_wh_term_event(struct term_event *ev, enum term_event_type type, int width, i ev->ev = type; ev->info.size.width = width; ev->info.size.height = height; -#ifdef CONFIG_LIBSIXEL ev->info.size.cell_width = cell_width; ev->info.size.cell_height = cell_height; -#endif } #define set_init_term_event(ev, w, h, cw, ch) set_wh_term_event(ev, EVENT_INIT, w, h, cw, ch) @@ -136,10 +134,8 @@ set_wh_interlink_event(struct interlink_event *ev, enum term_event_type type, in ev->ev = type; ev->info.size.width = width; ev->info.size.height = height; -#ifdef CONFIG_LIBSIXEL ev->info.size.cell_width = cell_width; ev->info.size.cell_height = cell_height; -#endif } #define set_resize_interlink_event(ev, w, h, cw, ch) set_wh_interlink_event(ev, EVENT_RESIZE, w, h, cw, ch) diff --git a/src/terminal/terminal.h b/src/terminal/terminal.h index c969642f..0c91ac31 100644 --- a/src/terminal/terminal.h +++ b/src/terminal/terminal.h @@ -178,9 +178,9 @@ struct terminal { #ifdef CONFIG_LIBSIXEL LIST_OF(struct image) images; +#endif int cell_width; int cell_height; -#endif }; #define do_not_ignore_next_mouse_event(term) \