Hi,
When enabling cursor blinking using the options popup disabling it again
didn't work. This patch fixes it.
Jan
--
-[ OpenPGP key ID: 00A0FD5F ]-
I do not fear death. I had been dead for billions and billions of years
before I was born, and had not suffered the slightest inconvenience from it.
-- Mark Twain
diff --git a/src/command.C b/src/command.C
index ec0fe58..fa97aa6 100644
--- a/src/command.C
+++ b/src/command.C
@@ -1678,7 +1678,7 @@ rxvt_term::x_cb (XEvent &ev)
}
#if defined(CURSOR_BLINK)
- if (option (Opt_cursorBlink) && ev.type == KeyPress)
+ if (ev.type == KeyPress)
{
if (hidden_cursor)
{
@@ -1686,7 +1686,10 @@ rxvt_term::x_cb (XEvent &ev)
want_refresh = 1;
}
- cursor_blink_ev.again ();
+ if (option (Opt_cursorBlink))
+ cursor_blink_ev.again ();
+ else
+ cursor_blink_ev.stop ();
}
#endif
_______________________________________________
rxvt-unicode mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/rxvt-unicode