--- st-blinking_cursor-20211116-2f6e597.diff.orig 2022-10-05 16:33:08.206590256 -0700 +++ st-blinking_cursor-20211116-2f6e597.diff 2022-10-05 16:34:51.246821546 -0700 @@ -43,14 +43,14 @@ index 89786b8..7d2447d 100644 --- a/x.c +++ b/x.c -@@ -253,6 +253,7 @@ static char *opt_name = NULL; +@@ -256,6 +256,7 @@ + static char *opt_line = NULL; + static char *opt_name = NULL; static char *opt_title = NULL; - - static int oldbutton = 3; /* button event on startup: 3 = release */ +static int cursorblinks = 0; - - void - clipcopy(const Arg *dummy) + + static uint buttons; /* bit field of pressed buttons */ + @@ -1529,29 +1530,44 @@ xdrawcursor(int cx, int cy, Glyph g, int ox, int oy, Glyph og) /* draw the new one */ if (IS_SET(MODE_FOCUSED)) { .