Re: [hackers] [st][PATCH 1/2] Update XIM spot location only when cursor moved
On Mon, 3 Feb 2020 13:37:47 +0800
Ivan Tham <pickfire_AT_riseup.net> wrote:
Dear Ivan,
> This patch reduces number of calls to update XIM cursor position and
> increases the input latency noticibly by updating XIM after term.c.x
> or term.c.y changed rather than in draw which updates cursor position
> whenever a redraw happens like focus changed or redraw block.
> It also help solve input lag problem with fcitx5 when holding keys.
> ---
> st | Bin 0 -> 102112 bytes
> st.c | 3 ++-
> 2 files changed, 2 insertions(+), 1 deletion(-)
> create mode 100755 st
>
> diff --git a/st b/st
> new file mode 100755
> index
> 0000000000000000000000000000000000000000..a7bff12e8f3f1102f8bf22f9c1c41ab441dfc15f
> GIT binary patch literal 102112
the binary-patch-section seems to be a small overlook on your side.
Could you please re-post the patch without binary segments?
With best regards
Laslo
Received on Mon Feb 03 2020 - 09:01:58 CET
This archive was generated by hypermail 2.3.0
: Mon Feb 03 2020 - 09:12:45 CET