From 9f806e76e7c0ffb8443b4088eb60e6f783a864eb Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 27 Dec 2017 10:07:21 +0530 Subject: [PATCH] Fix incorrect condition for aborting cursor geometry calculation --- kitty/child-monitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty/child-monitor.c b/kitty/child-monitor.c index 92c9ea61c..6ac69bda4 100644 --- a/kitty/child-monitor.c +++ b/kitty/child-monitor.c @@ -518,7 +518,7 @@ collect_cursor_info(CursorRenderInfo *ans, Window *w, double now, OSWindow *os_w ans->shape = cursor->shape ? cursor->shape : OPT(cursor_shape); ans->color = colorprofile_to_color(cp, cp->overridden.cursor_color, cp->configured.cursor_color); ans->is_focused = os_window->is_focused; - if (ans->shape == CURSOR_BLOCK && !ans->is_focused) return; + if (ans->shape == CURSOR_BLOCK && ans->is_focused) return; double left = rd->xstart + cursor->x * rd->dx; double top = rd->ystart - cursor->y * rd->dy; unsigned long mult = MAX(1, screen_current_char_width(rd->screen));