From 11d217502342064f96f6442ed64d562d265f7e4c Mon Sep 17 00:00:00 2001 From: ROOL <code@riscosopen.org> Date: Fri, 27 Dec 2019 15:54:52 +0000 Subject: [PATCH] Fix for lack of input focus clicking on no icon Detail: If R0=valid window handle, R1<0 (not an icon) and R4=-1 then R4 is internally set to 'invisible caret' to ensure that we get the full input focus event and visible cues. Ref: https://www.riscosopen.org/forum/forums/5/topics/14945?page=2#posts-97886 Admin: Submission for Clipboard Support bounty. --- s/CnPCaret | 1 + 1 file changed, 1 insertion(+) diff --git a/s/CnPCaret b/s/CnPCaret index 05f999e..8012f83 100644 --- a/s/CnPCaret +++ b/s/CnPCaret @@ -335,6 +335,7 @@ wscp_workarea ; upcaret corrupts R11 CMP R4,#-1 + MOVEQ R4,#crf_invisible ; if no flags supplied, make the caret invisible TSTNE R4,#crf_ghostcaret ADREQL R11,caretdata ADRNEL R11,ghostcaretdata -- GitLab