diff options
Diffstat (limited to 'ide-hover.c')
-rw-r--r-- | ide-hover.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ide-hover.c b/ide-hover.c index ae870c3..59498f7 100644 --- a/ide-hover.c +++ b/ide-hover.c @@ -159,7 +159,7 @@ void hover_frame(Ted *ted, double dt) { const char *text = hover->text; Font *font = ted->font; float char_height = text_font_char_height(font); - float x = ted->mouse_pos.x, y = ted->mouse_pos.y + char_height; + float x = ted_mouse_pos(ted).x, y = ted_mouse_pos(ted).y + char_height; buffer_highlight_lsp_range(buffer, hover->range, COLOR_HOVER_HL); |