From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Can Emacs help here (running on Linux, display on Windows)? Date: Sat, 05 Aug 2017 09:38:37 +0300 Message-ID: <83o9ruwmc2.fsf@gnu.org> References: NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1501915163 5339 195.159.176.226 (5 Aug 2017 06:39:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 5 Aug 2017 06:39:23 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Aug 05 08:39:19 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ddsk1-00018m-BJ for geh-help-gnu-emacs@m.gmane.org; Sat, 05 Aug 2017 08:39:17 +0200 Original-Received: from localhost ([::1]:55547 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ddsk7-0001u4-HU for geh-help-gnu-emacs@m.gmane.org; Sat, 05 Aug 2017 02:39:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44580) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ddsjZ-0001tk-IA for help-gnu-emacs@gnu.org; Sat, 05 Aug 2017 02:38:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ddsjW-0006XP-6t for help-gnu-emacs@gnu.org; Sat, 05 Aug 2017 02:38:49 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59887) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ddsjW-0006XL-3I for help-gnu-emacs@gnu.org; Sat, 05 Aug 2017 02:38:46 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1062 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ddsjV-0000xR-7z for help-gnu-emacs@gnu.org; Sat, 05 Aug 2017 02:38:45 -0400 In-reply-to: (message from Skip Montanaro on Fri, 4 Aug 2017 15:26:21 -0500) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:113932 Archived-At: > From: Skip Montanaro > Date: Fri, 4 Aug 2017 15:26:21 -0500 > > I'm now faced with a small problem. Click-to-focus is the rule, but stupid, > stupid Windows also insists on passing the same click used to change focus > to the application itself. Maybe VcXsrv has some setting I've not > discovered (I can't even find the damn thing on the computer.) Is there > some way to make it stop? Can Emacs come to the rescue and somehow ignore > that initial, point-changing click? What do you mean by "ignore"? What does Emacs do upon that click that you'd like to avoid? (I never used a Mac, and hope I never will, so I have no idea what does "change keyboard focus, full stop" really mean, on a GUI system where the window that has focus receives a flood of window-system events right away.) In any case, you can have focus-follows-mouse on Windows as well, although it's a bit more tricky than on X. I always set up my Windows machines to do that, because having to click a window (and as result raise it to the top-most position in z-order) to have focus in it drives me mad. However, given that I don't understand what part of a click you'd like Emacs to ignore, I cannot be sure that even having focus-follows-mouse on Windows will solve your problem.