summaryrefslogtreecommitdiff
path: root/src/entry_backend/harfbuzz.h
diff options
context:
space:
mode:
authorPhil Jones <philj56@gmail.com>2023-03-16 23:27:43 +0000
committerPhil Jones <philj56@gmail.com>2023-03-16 23:27:43 +0000
commit3d7fc65be44b432e134fcc0f7e552fa74e4ec120 (patch)
tree7aa6614643110a1228ced7989db85d723c17abc6 /src/entry_backend/harfbuzz.h
parent8d0e894fd3c6535687220fe3a51e0ef509b3e020 (diff)
Fix selection background for Harfbuzz backend.
This was broken in the recent changes to allow fractional scaling, as a calculation hadn't been updated.
Diffstat (limited to 'src/entry_backend/harfbuzz.h')
-rw-r--r--src/entry_backend/harfbuzz.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/entry_backend/harfbuzz.h b/src/entry_backend/harfbuzz.h
index acaa2eb..faf0c68 100644
--- a/src/entry_backend/harfbuzz.h
+++ b/src/entry_backend/harfbuzz.h
@@ -17,6 +17,7 @@ struct entry_backend_harfbuzz {
FT_Face ft_face;
cairo_font_face_t *cairo_face;
+ cairo_font_extents_t cairo_font_extents;
hb_font_t *hb_font;
hb_font_extents_t hb_font_extents;