diff options
author | Phil Jones <philj56@gmail.com> | 2023-03-05 20:46:37 +0000 |
---|---|---|
committer | Phil Jones <philj56@gmail.com> | 2023-03-05 20:46:37 +0000 |
commit | c4c32f63617f612e91e5a4b3b0012d922e5104df (patch) | |
tree | ab7f5b0be42c0d280fc2626fe2f429d4e6cfacf6 | |
parent | 828744849d0b41d0b65db4f0bcb9be7e8698fdd0 (diff) |
Remove unused image.h.
-rw-r--r-- | src/entry.c | 3 | ||||
-rw-r--r-- | src/entry.h | 2 | ||||
-rw-r--r-- | src/image.h | 18 | ||||
-rw-r--r-- | src/main.c | 1 | ||||
-rw-r--r-- | src/surface.h | 1 | ||||
-rw-r--r-- | src/tofi.h | 1 |
6 files changed, 0 insertions, 26 deletions
diff --git a/src/entry.c b/src/entry.c index 4ad825a..31a7d6b 100644 --- a/src/entry.c +++ b/src/entry.c @@ -45,9 +45,6 @@ static void apply_text_theme_fallback(struct text_theme *theme, const struct tex void entry_init(struct entry *entry, uint8_t *restrict buffer, uint32_t width, uint32_t height, uint32_t scale) { - entry->image.width = width; - entry->image.height = height; - /* * Create the cairo surfaces and contexts we'll be using. * diff --git a/src/entry.h b/src/entry.h index e6b20fa..882204c 100644 --- a/src/entry.h +++ b/src/entry.h @@ -9,7 +9,6 @@ #include "color.h" #include "desktop_vec.h" #include "history.h" -#include "image.h" #include "surface.h" #include "string_vec.h" @@ -62,7 +61,6 @@ struct cursor_theme { }; struct entry { - struct image image; struct entry_backend_harfbuzz harfbuzz; struct entry_backend_pango pango; struct { diff --git a/src/image.h b/src/image.h deleted file mode 100644 index e3cf86f..0000000 --- a/src/image.h +++ /dev/null @@ -1,18 +0,0 @@ -#ifndef IMAGE_H -#define IMAGE_H - -#include <stdbool.h> -#include <stdint.h> - -struct image { - uint32_t width; - uint32_t height; - struct { - uint32_t x; - uint32_t y; - uint32_t width; - uint32_t height; - } damage; -}; - -#endif /* IMAGE_H */ @@ -18,7 +18,6 @@ #include "drun.h" #include "config.h" #include "entry.h" -#include "image.h" #include "input.h" #include "log.h" #include "nelem.h" diff --git a/src/surface.h b/src/surface.h index e1a5887..737905e 100644 --- a/src/surface.h +++ b/src/surface.h @@ -5,7 +5,6 @@ #include <stdint.h> #include <wayland-client.h> #include "color.h" -#include "image.h" struct surface { struct wl_surface *wl_surface; @@ -8,7 +8,6 @@ #include "clipboard.h" #include "color.h" #include "entry.h" -#include "image.h" #include "surface.h" #include "wlr-layer-shell-unstable-v1.h" |