aboutsummaryrefslogtreecommitdiff
path: root/render.c
diff options
context:
space:
mode:
Diffstat (limited to 'render.c')
-rw-r--r--render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/render.c b/render.c
index 97284cbb..d02ada3e 100644
--- a/render.c
+++ b/render.c
@@ -279,7 +279,7 @@ draw_cursor(const struct terminal *term, const struct cell *cell,
pixman_image_t *pix, pixman_color_t *fg, const pixman_color_t *bg,
int x, int y, int cols)
{
- bool have_focus = term->wl->focused == term;
+ bool have_focus = term->wl->kbd_focus == term;
pixman_color_t cursor_color;
pixman_color_t text_color;