aboutsummaryrefslogtreecommitdiff
path: root/render.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-01-02 14:58:52 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-01-02 14:58:52 +0000
commit4ecb0ecf4d1f45df918a8dd2dbabd6e9d7090dcc (patch)
treed86d230522b0386d2a412d5212f3283f8b4828b2 /render.c
parentREADME: add missing '+' in keyboard shortcut ctrl+shift+w (diff)
wayland: rename focused/moused to kbd_focus/mouse_focus
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;