diff --git a/x.c b/x.c index de2d68f..94eb59f 100644 --- a/x.c +++ b/x.c @@ -1818,6 +1818,7 @@ focus(XEvent *ev) XSetICFocus(xw.xic); win.mode |= MODE_FOCUSED; xseturgency(0); + if (IS_SET(MODE_FOCUS)) ttywrite("\033[I", 3, 0); if (!focused) { focused = true;