From b271b22fce14d80ac302d45289e3e77906f451c1 Mon Sep 17 00:00:00 2001 From: siduck76 Date: Mon, 14 Jun 2021 08:47:57 +0530 Subject: [PATCH] hide cursor on idle window --- x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x.c b/x.c index 3e8fc8cf29d4c8fd5767867e90b83437be560e45..5c8374d1cc6841971babc17ed589689057e0432e 100644 --- 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; /*