commit b271b22fce14d80ac302d45289e3e77906f451c1
parent ae58ff0b5e5755cfb0f9d4233fc6b25d966457a3
Author: siduck76 <siduckk76@protonmail.com>
Date: Mon, 14 Jun 2021 08:47:57 +0530
hide cursor on idle window
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/x.c b/x.c
@@ -1621,7 +1621,7 @@ xdrawcursor(int cx, int cy, Glyph g, int ox, int oy, Glyph og, Line line, int le
* It will restore the ligatures broken by the cursor. */
xdrawline(line, 0, oy, len);
- if (IS_SET(MODE_HIDE))
+ if (IS_SET(MODE_HIDE) || !IS_SET(MODE_FOCUSED))
return;
/*