From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from re-prd-fep-041.btinternet.com (mailomta8-re.btinternet.com [213.120.69.101]) by sourceware.org (Postfix) with ESMTPS id 7E0DE398EC09 for ; Fri, 9 Apr 2021 14:41:55 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 7E0DE398EC09 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=dronecode.org.uk Authentication-Results: sourceware.org; spf=none smtp.mailfrom=jon.turney@dronecode.org.uk Received: from re-prd-rgout-003.btmx-prd.synchronoss.net ([10.2.54.6]) by re-prd-fep-041.btinternet.com with ESMTP id <20210409144154.MXNV20325.re-prd-fep-041.btinternet.com@re-prd-rgout-003.btmx-prd.synchronoss.net>; Fri, 9 Apr 2021 15:41:54 +0100 Authentication-Results: btinternet.com; auth=pass (PLAIN) smtp.auth=jonturney@btinternet.com X-SNCR-Rigid: 5ED9C2FD2E1FD25F X-Originating-IP: [81.153.98.246] X-OWM-Source-IP: 81.153.98.246 (GB) X-OWM-Env-Sender: jonturney@btinternet.com X-VadeSecure-score: verdict=clean score=0/300, class=clean X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgeduledrudekuddgkeduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuueftkffvkffujffvgffngfevqffopdfqfgfvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefuvfhfhffkffgfgggjtgfgsehtjeertddtfeejnecuhfhrohhmpeflohhnucfvuhhrnhgvhicuoehjohhnrdhtuhhrnhgvhiesughrohhnvggtohguvgdrohhrghdruhhkqeenucggtffrrghtthgvrhhnpefhjeekteffvdeglefgteegfeektdegffevfeehffduffejteffvefgiefgjefggfenucffohhmrghinhepshhouhhrtggvfigrrhgvrdhorhhgnecukfhppeekuddrudehfedrleekrddvgeeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehhvghloheplgduledvrdduieekrddurdduuddungdpihhnvghtpeekuddrudehfedrleekrddvgeeipdhmrghilhhfrhhomhepoehjohhnrdhtuhhrnhgvhiesughrohhnvggtohguvgdrohhrghdruhhkqecuuefqffgjpeekuefkvffokffogfdprhgtphhtthhopeeotgihghifihhnsegthihgfihinhdrtghomheqpdhrtghpthhtohepoegthihgfihinhesthhlihhngidrohhrgheq X-RazorGate-Vade-Verdict: clean 0 X-RazorGate-Vade-Classification: clean Received: from [192.168.1.111] (81.153.98.246) by re-prd-rgout-003.btmx-prd.synchronoss.net (5.8.340) (authenticated as jonturney@btinternet.com) id 5ED9C2FD2E1FD25F; Fri, 9 Apr 2021 15:41:54 +0100 Subject: Re: X11 blinking cursor in text window like 'gvim' - only halts if moved-over another X11-win To: L A Walsh , The Cygwin Mailing List References: <606CFC89.6030700@tlinx.org> From: Jon Turney Message-ID: <3a23e83c-670b-c599-b77b-18074dadf42e@dronecode.org.uk> Date: Fri, 9 Apr 2021 15:41:06 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 MIME-Version: 1.0 In-Reply-To: <606CFC89.6030700@tlinx.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3571.4 required=5.0 tests=BAYES_00, FORGED_SPF_HELO, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, KHOP_HELO_FCRDNS, NICE_REPLY_A, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, SPF_NONE, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Apr 2021 14:41:57 -0000 On 07/04/2021 01:27, L A Walsh wrote: > I don't recall this always being this way as I keep running into > a problem with my input going into the wrong window. > > I've noted I seem to be relying on which editor(i.e. gvim) > window in X11 has focus by noting that it has a > blinking square cursor in the window at the cursor's > current position in the edited text. > > If I move the windows cursor to another editor window in X11, > the blinking cursor moves to the new window, but if I move > it to a native window, the blinking doesn't stop. > > Has this always been this way? I think so, yes. See [1] et seq. for a discussion of what I think is the same problem, where the Cygwin X server doesn't notify X windows of a focus loss when the focus moves to a non-X window. Unfortunately, my attempts at fixing this just introduced more problems (see [2],[3] et seq.), and so were reverted. [1] https://sourceware.org/legacy-ml/cygwin/2017-04/msg00168.html [2] https://sourceware.org/legacy-ml/cygwin/2017-04/msg00278.html [3] https://sourceware.org/pipermail/cygwin/2017-May/232564.html